Skip to content

Commit 55674c6

Browse files
committed
build: updated tsconfig
1 parent 5e6bc0a commit 55674c6

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed
Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"compilerOptions": {
4-
"target": "ES2021",
4+
"allowJs": true,
5+
"allowSyntheticDefaultImports": true,
6+
"alwaysStrict": true,
7+
"declaration": false,
8+
"esModuleInterop": true,
9+
"experimentalDecorators": true,
10+
"forceConsistentCasingInFileNames": true,
11+
"importHelpers": false,
512
"lib": [
613
"ESNext",
7-
"ES2024",
8-
"ES2023",
9-
"ES2022",
10-
"ES2021",
11-
"ES2020",
12-
"ES2019",
13-
"ES2018",
14-
"ES2017",
15-
"ES2016",
16-
"ES2015",
17-
"ES5",
18-
"DOM",
14+
"DOM"
1915
],
20-
"types": ["node"],
21-
"allowJs": true,
22-
"declaration": false,
16+
"moduleResolution": "NodeNext",
17+
"noFallthroughCasesInSwitch": true,
18+
"noEmitOnError": true,
19+
"noErrorTruncation": true,
20+
"noImplicitOverride": true,
21+
"noImplicitAny": true,
22+
"noImplicitReturns": true,
23+
"noImplicitThis": true,
24+
"noPropertyAccessFromIndexSignature": true,
25+
"noUncheckedIndexedAccess": true,
26+
"noUnusedLocals": true,
27+
"noUnusedParameters": true,
2328
"removeComments": true,
24-
"importHelpers": false,
2529
"strict": true,
26-
"noImplicitAny": true,
2730
"strictNullChecks": true,
28-
"alwaysStrict": true,
29-
"noFallthroughCasesInSwitch": true,
30-
"moduleResolution": "NodeNext",
31-
"allowSyntheticDefaultImports": true,
32-
"esModuleInterop": true,
33-
"experimentalDecorators": true,
34-
"forceConsistentCasingInFileNames": true
31+
"target": "ES2021",
32+
"types": ["node"],
33+
"useUnknownInCatchVariables": true
3534
}
3635
}

0 commit comments

Comments
 (0)