Skip to content

Commit d9aa96e

Browse files
committed
Make tsconfig.json stricter
1 parent 4dc439c commit d9aa96e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tsconfig.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
{
22
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"noImplicitAny": true,
5-
"noImplicitThis": true,
6-
"strict": true,
3+
"target": "ES2021",
4+
"allowUnreachableCode": false,
5+
"allowUnusedLabels": false,
6+
"exactOptionalPropertyTypes": true,
77
"noFallthroughCasesInSwitch": true,
8+
"noImplicitOverride": true,
89
"noImplicitReturns": true,
10+
"noPropertyAccessFromIndexSignature": true,
11+
"noUncheckedIndexedAccess": true,
912
"noUnusedLocals": true,
1013
"noUnusedParameters": true,
14+
"strict": true,
1115
"module": "CommonJS",
1216
"moduleResolution": "Node",
17+
"esModuleInterop": true,
18+
"lib": ["ES2021"],
1319
"sourceMap": true,
1420
"declaration": true,
1521
"declarationMap": true,
16-
"lib": ["ES2020"],
1722
"outDir": "dist"
1823
}
1924
}

0 commit comments

Comments
 (0)