-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
63 lines (63 loc) · 1.4 KB
/
tsconfig.json
File metadata and controls
63 lines (63 loc) · 1.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
// "extends": "@vue/tsconfig/tsconfig.web.json",
"include": [
"src/**/*",
"src/**/*.vue",
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules",
"dist",
"src/**/assets/iconfont/iconfont.js",
"src/**/nporgress.js"
],
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": true,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"noImplicitAny": false,
"allowJs": true,
// "suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": false, // 变量未使用不报错
// "avoidEscape": true, // allows strings to use single-quotes or double-quotes
// "allowTemplateLiterals": true, // allows strings to use backticks
"noImplicitThis": true, // 使用this不报错
"sourceMap": true,
"baseUrl": ".",
"types": [
"vite/client"
// "node",
// "element-plus/global",
// "webpack-env"
// "webpack-env",
// "jest"
],
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"references": [
{
"path": "./tsconfig.vite-config.json"
}
]
}