chore: fix rollup.config.ts types

This commit is contained in:
harttle
2019-02-25 00:12:31 +08:00
parent f34573ee21
commit 75b3e15ca9
2 changed files with 8 additions and 1 deletions
Vendored
+6
View File
@@ -0,0 +1,6 @@
declare module 'rollup-plugin-uglify' {
export function uglify (): any
}
declare module 'rollup-plugin-shim' {
export default function shim(options: any): any
}
+2 -1
View File
@@ -6,6 +6,7 @@
"sourceMap": true, "sourceMap": true,
"declaration": true, "declaration": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"strict": true, "strict": true,
"suppressImplicitAnyIndexErrors": true, "suppressImplicitAnyIndexErrors": true,
"baseUrl": ".", "baseUrl": ".",
@@ -16,6 +17,6 @@
"test/*": ["test/*"] "test/*": ["test/*"]
} }
}, },
"include": [ "*.ts", "src", "test", "benchmark" ], "all": true,
"exclude": [ "node_modules", "dist" ] "exclude": [ "node_modules", "dist" ]
} }