fix: add explicit module declaration to type definitions (#16219)

This commit is contained in:
Justin Starry
2021-03-30 20:16:31 +08:00
committed by GitHub
parent 54cb16d99b
commit c959c5daf7
12 changed files with 74 additions and 390 deletions

View File

@ -0,0 +1,7 @@
import dts from 'rollup-plugin-dts';
export default {
input: './declarations/index.d.ts',
output: [{file: 'lib/index.d.ts', format: 'es'}],
plugins: [dts()],
};