Skip to content

Commit

Permalink
make tsconfig file to build declaration files
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Dec 22, 2021
1 parent df6000c commit 14b854a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions tsconfig-declaration.json
@@ -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/**/*"],
}
5 changes: 4 additions & 1 deletion tsconfig.json
@@ -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/*"
Expand Down

0 comments on commit 14b854a

Please sign in to comment.