-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
34 lines (34 loc) · 1015 Bytes
/
tsconfig.json
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
{
"compilerOptions": {
"module": "esnext",
"target": "ES6",
"lib": ["ES6", "DOM", "ES2015", "ES2021"],
"importHelpers": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"noUncheckedIndexedAccess": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
//https://vitejs.cn/guide/features.html#typescript-compiler-options
// "useDefineForClassFields": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"strictNullChecks": false,
"resolveJsonModule": true,
"isolatedModules": true,
"typeRoots": ["./node_modules/@types", "./typings"],
"types": ["vite/client"],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["./**/*.d.ts", "./src/*.ts", "./**/*.tsx"]
}