Skip to content

Commit aa5e607

Browse files
committed
chore: update tsconfig
1 parent 548efc7 commit aa5e607

1 file changed

Lines changed: 35 additions & 5 deletions

File tree

tsconfig.json

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,41 @@
11
{
22
"compilerOptions": {
3+
// Type Checking
4+
"allowUnreachableCode": false,
5+
"allowUnusedLabels": false,
6+
"exactOptionalPropertyTypes": true,
7+
"noFallthroughCasesInSwitch": true,
8+
"noImplicitAny": true,
9+
"noImplicitOverride": true,
10+
"noImplicitReturns": true,
11+
"noImplicitThis": true,
12+
"noPropertyAccessFromIndexSignature": true,
13+
"noUncheckedIndexedAccess": true,
14+
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
316
"strict": true,
4-
"module": "es2020",
5-
6-
"moduleResolution": "node",
7-
"allowSyntheticDefaultImports": true,
8-
"esModuleInterop": true
17+
"strictBindCallApply": true,
18+
"strictFunctionTypes": true,
19+
"strictNullChecks": true,
20+
"strictPropertyInitialization": true,
21+
"useUnknownInCatchVariables": true,
22+
// Modules
23+
"module": "ES2020",
24+
"allowArbitraryExtensions": true,
25+
"moduleResolution": "bundler",
26+
"resolveJsonModule": true,
27+
// Interop Constraints
28+
"esModuleInterop": true,
29+
"forceConsistentCasingInFileNames": true,
30+
"isolatedModules": true,
31+
// Emit
32+
"noEmit": true,
33+
// JavaScript Support
34+
"allowJs": true,
35+
"checkJs": true
36+
},
37+
"typeAcquisition": {
38+
"enable": true
939
},
1040
"types": ["node"],
1141
"exclude": ["node_modules", "test", "examples", "dist", "coverage"]

0 commit comments

Comments
 (0)