Skip to content

Commit 44d9ab0

Browse files
author
Jerry Bruwes
committed
modified: tsconfig.json
1 parent 0871eea commit 44d9ab0

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

tsconfig.json

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
{
22
"compilerOptions": {
3-
// Enable latest features
4-
"lib": ["ESNext", "DOM"],
5-
"target": "ESNext",
6-
"module": "ESNext",
3+
"esModuleInterop": true,
4+
"skipLibCheck": true,
5+
"target": "esnext",
6+
"allowJs": true,
7+
"resolveJsonModule": true,
78
"moduleDetection": "force",
8-
9-
// Bundler mode
10-
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"verbatimModuleSyntax": true,
9+
"isolatedModules": true,
10+
"module": "preserve",
1311
"noEmit": true,
14-
15-
// Best practices
12+
"lib": ["esnext", "dom", "dom.iterable"],
1613
"strict": true,
17-
"skipLibCheck": true,
18-
"noFallthroughCasesInSwitch": true,
19-
20-
// Some stricter flags (disabled by default)
21-
"noUnusedLocals": false,
22-
"noUnusedParameters": false,
23-
"noPropertyAccessFromIndexSignature": false
14+
"allowUnreachableCode": false,
15+
"allowUnusedLabels": false,
16+
"noImplicitOverride": true,
17+
"exactOptionalPropertyTypes": true,
18+
"noUncheckedIndexedAccess": true
2419
}
2520
}

0 commit comments

Comments
 (0)