forked from jsxiaosi/vue-xs-admin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
42 lines (42 loc) · 1.14 KB
/
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
35
36
37
38
39
40
41
42
{
// https://www.tslang.cn/docs/handbook/compiler-options.html
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"noLib": false,
"strict": true,
"skipLibCheck": true,
"noImplicitThis": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"strictFunctionTypes": false,
"jsx": "preserve",
"baseUrl": ".",
"allowJs": false,
"sourceMap": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"incremental": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"experimentalDecorators": true,
"noImplicitAny": true,
"removeComments": true,
"isolatedModules": true,
"types": ["vite/client", "element-plus/global", "unplugin-vue-macros/macros-global"],
"typeRoots": ["./node_modules", "./types"],
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"paths": {
"@/*": ["src/*"],
"#/*": ["types/*"]
}
},
"include": ["src", "types", "tests"],
"exclude": ["node_modules", "dist", "**/*.js", "discard/"],
"references": [
{
"path": "./tsconfig.node.json"
}
]
}