-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 900 Bytes
/
tsconfig.json
File metadata and controls
34 lines (34 loc) · 900 Bytes
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": {
"typeRoots": [
"node_modules/@types", // 默认值
"src/types",
"webpack-env"
],
"useUnknownInCatchVariables": false,
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"noImplicitAny": false,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"baseUrl": "./",
"types": ["vite/client", "vite-plugin-svg-icons/client", "node"],
"paths": {
"@": ["src"],
"@/*": ["src/*"]
},
"allowJs": false,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx"]
}