Spaces:
Running
Running
Update tsconfig.json
Browse files- tsconfig.json +21 -21
tsconfig.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
| 1 |
{
|
| 2 |
"compilerOptions": {
|
| 3 |
-
"target": "
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
"module": "ESNext",
|
| 7 |
-
"lib": [
|
| 8 |
-
"ES2022",
|
| 9 |
-
"DOM",
|
| 10 |
-
"DOM.Iterable"
|
| 11 |
-
],
|
| 12 |
"skipLibCheck": true,
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
],
|
| 16 |
"moduleResolution": "bundler",
|
|
|
|
|
|
|
| 17 |
"isolatedModules": true,
|
| 18 |
-
"
|
| 19 |
-
"allowJs": true,
|
| 20 |
"jsx": "react-jsx",
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
"
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"compilerOptions": {
|
| 3 |
+
"target": "ES2020",
|
| 4 |
+
"useDefineForClassFields": true,
|
| 5 |
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
| 6 |
"module": "ESNext",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"skipLibCheck": true,
|
| 8 |
+
|
| 9 |
+
/* Bundler mode */
|
|
|
|
| 10 |
"moduleResolution": "bundler",
|
| 11 |
+
"allowImportingTsExtensions": true,
|
| 12 |
+
"resolveJsonModule": true,
|
| 13 |
"isolatedModules": true,
|
| 14 |
+
"noEmit": true,
|
|
|
|
| 15 |
"jsx": "react-jsx",
|
| 16 |
+
|
| 17 |
+
/* Linting */
|
| 18 |
+
"strict": true,
|
| 19 |
+
"noUnusedLocals": true,
|
| 20 |
+
"noUnusedParameters": true,
|
| 21 |
+
"fallthroughCasesInSwitch": true,
|
| 22 |
+
|
| 23 |
+
/* Types */
|
| 24 |
+
"types": ["vite/client", "node"]
|
| 25 |
+
},
|
| 26 |
+
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts", "services/**/*.ts", "pages/**/*.tsx", "components/**/*.tsx", "types.ts", "App.tsx", "index.tsx"],
|
| 27 |
+
"exclude": ["server.js", "node_modules"],
|
| 28 |
+
"references": [{ "path": "./tsconfig.node.json" }]
|
| 29 |
}
|