make tsconfig file to build declaration files

This commit is contained in:
Bruno Windels 2021-12-10 19:13:44 +01:00
parent df6000c706
commit 14b854ad4f
2 changed files with 18 additions and 1 deletions

14
tsconfig-declaration.json Normal file
View 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/**/*"],
}

View file

@ -1,9 +1,12 @@
{
"compilerOptions": {
"strictNullChecks": true,
"noImplicitAny": false,
"noEmit": true,
"target": "ES2020",
"moduleResolution": "node"
"module": "ES2020",
"moduleResolution": "node",
"esModuleInterop": true
},
"exclude": [
"src/sdk/paths/*"