-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
36 lines (33 loc) · 1.04 KB
/
Copy pathtsconfig.json
File metadata and controls
36 lines (33 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// Environment — a browser app bundled by Vite.
"target": "esnext",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"jsx": "react-jsx",
"useDefineForClassFields": true,
// Vite transpiles; tsc is type-check only.
"noEmit": true,
"sourceMap": true,
"isolatedModules": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true,
"noUncheckedSideEffectImports": true,
"allowImportingTsExtensions": true,
"skipLibCheck": true,
"resolveJsonModule": true,
// Path alias — `@/...` resolves to the Vite source root (./assets).
// Paths resolve relative to this tsconfig (no baseUrl needed under
// moduleResolution: "bundler").
"paths": {
"@/*": ["./assets/*"]
},
// Strict type checking.
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true
},
"include": ["assets", "vite.config.ts"]
}