Skip to content

Commit 0d048e3

Browse files
committed
fix(build): Fixed tsconfig for generating type definitions
1 parent e81ebfe commit 0d048e3

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

tsconfig.typedefs.json

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
{
2-
"extends": "./tsconfig.json",
32
"compilerOptions": {
43
"jsx": "react-jsx",
4+
"target": "es5",
5+
"module": "esnext",
56
"noEmit": false,
7+
"strict": true,
8+
"esModuleInterop": true,
9+
"moduleResolution": "node",
10+
"resolveJsonModule": true,
11+
"downlevelIteration": true,
12+
"noFallthroughCasesInSwitch": true,
13+
"allowSyntheticDefaultImports": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"lib": ["dom", "dom.iterable", "esnext"],
616
"declaration": true,
717
"declarationDir": "dist",
818
"emitDeclarationOnly": true,
9-
"skipLibCheck": false,
19+
"incremental": false,
20+
"skipLibCheck": true,
1021
"isolatedModules": false
1122
},
1223
"include": ["src"],

0 commit comments

Comments
 (0)