-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 905 Bytes
/
tsconfig.json
File metadata and controls
34 lines (34 loc) · 905 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": {
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"esModuleInterop": true,
"experimentalDecorators": true,
"importHelpers": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
"module": "esnext",
"moduleResolution": "node",
"noImplicitAny": false, // 解决 Parameter ‘XXX‘ implicitly has an 'any' type
"paths": {
"@/*": ["./src/*"]
},
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
"types": ["element-plus/global", "vite/client"],
"useDefineForClassFields": true
},
"exclude": ["node_modules"],
"include": [
"src/**/*.scss",
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
],
"references": [{ "path": "./tsconfig.node.json" }]
}