Skip to content

Commit 8964414

Browse files
committed
fix: add more typescript controls
1 parent d0d7bb1 commit 8964414

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

tsconfig.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
{
22
"compilerOptions": {
33
"jsx": "react",
4-
"lib": ["es2017", "es6", "dom"],
5-
"moduleResolution": "node",
6-
"target": "esnext",
4+
"target": "es5",
5+
"lib": ["dom", "dom.iterable", "esnext"],
76
"module": "esnext",
8-
"incremental": true,
9-
"esModuleInterop": true,
10-
"isolatedModules": true,
11-
"resolveJsonModule": true,
7+
"moduleResolution": "node",
128
"allowJs": true,
13-
"checkJs": true,
14-
"noEmit": true,
159
"skipLibCheck": true,
10+
"esModuleInterop": true,
11+
"allowSyntheticDefaultImports": true,
1612
"strict": true,
13+
"forceConsistentCasingInFileNames": true,
14+
"resolveJsonModule": true,
15+
"isolatedModules": true,
16+
"noEmit": true,
1717
"noImplicitAny": true,
1818
"strictNullChecks": true,
19+
"strictFunctionTypes": true,
20+
"strictBindCallApply": true,
1921
"noImplicitThis": true,
22+
"strictPropertyInitialization": true,
2023
"alwaysStrict": true,
2124
"noUnusedLocals": true,
2225
"noUnusedParameters": true,
2326
"noImplicitReturns": true,
24-
"noFallthroughCasesInSwitch": true,
25-
"allowSyntheticDefaultImports": true,
26-
"forceConsistentCasingInFileNames": true
27+
"noFallthroughCasesInSwitch": true
2728
},
2829
"include": ["src"]
2930
}

0 commit comments

Comments
 (0)