make tsconfig file to build declaration files
This commit is contained in:
parent
df6000c706
commit
14b854ad4f
2 changed files with 18 additions and 1 deletions
14
tsconfig-declaration.json
Normal file
14
tsconfig-declaration.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": false,
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"outDir": "dist/types",
|
||||||
|
"rootDir": "src"
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"src/sdk/paths/*"
|
||||||
|
],
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
}
|
|
@ -1,9 +1,12 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
|
"noImplicitAny": false,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"moduleResolution": "node"
|
"module": "ES2020",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"esModuleInterop": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"src/sdk/paths/*"
|
"src/sdk/paths/*"
|
||||||
|
|
Reference in a new issue