build: add declaration tsconfig (#8194)

This commit is contained in:
neverland
2021-02-22 20:10:21 +08:00
committed by GitHub
parent 4c0120a183
commit 94dcf6964a
3 changed files with 13 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"skipLibCheck": true,
"declarationDir": "./types"
},
"include": ["src/**/*"],
"exclude": ["**/demo/**", "**/test/**", "**/node_modules"]
}