We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e20d3 commit 067201eCopy full SHA for 067201e
tsconfig.json
@@ -1,7 +1,27 @@
1
{
2
"compilerOptions": {
3
- "target": "esnext",
+ // Enable latest features
4
+ "lib": ["ESNext", "DOM"],
5
+ "target": "ESNext",
6
+ "module": "ESNext",
7
+ "moduleDetection": "force",
8
+ "jsx": "react-jsx",
9
+ "allowJs": true,
10
+
11
+ // Bundler mode
12
+ "moduleResolution": "bundler",
13
+ "allowImportingTsExtensions": true,
14
+ "verbatimModuleSyntax": true,
15
+ "noEmit": true,
16
17
+ // Best practices
18
"strict": true,
- "module": "preserve"
19
+ "skipLibCheck": true,
20
+ "noFallthroughCasesInSwitch": true,
21
22
+ // Some stricter flags (disabled by default)
23
+ "noUnusedLocals": false,
24
+ "noUnusedParameters": false,
25
+ "noPropertyAccessFromIndexSignature": false
26
}
27
0 commit comments