build: using cli to generate type declaration (#8265)

This commit is contained in:
neverland
2021-03-04 15:42:36 +08:00
committed by GitHub
parent 7f91b4a6bb
commit 387f2ac336
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"skipLibCheck": true,
"declarationDir": "./types"
"declarationDir": ".",
"emitDeclarationOnly": true
},
"include": ["src/**/*"],
"exclude": ["**/demo/**", "**/test/**", "**/node_modules"]
"include": ["es/**/*", "lib/**/*"],
"exclude": ["node_modules", "**/test/**/*", "**/demo/**/*"]
}