-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
52 lines (52 loc) · 1.28 KB
/
Copy pathtsconfig.json
File metadata and controls
52 lines (52 loc) · 1.28 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
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"lib": ["esnext", "dom"],
"typeRoots": ["./node_modules/@types", "./src/types"], // 自定义类型路径
"types": [
"vite/client",
"node",
"@intlify/vite-plugin-vue-i18n/client",
"vite-plugin-pwa/client"
],
"plugins": [
{
"name": "@vuedx/typescript-plugin-vue"
}
],
"paths": {
"@/*": ["./src/*"]
},
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"declaration": false,
"declarationMap": false,
"noEmit": true,
"isolatedModules": true,
"allowJs": true,
"checkJs": false,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": false,
"exactOptionalPropertyTypes": false
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.vue",
"src/**/*.js",
"node_modules/element-plus/global.d.ts",
"global.d.ts",
"auto-imports.d.ts",
"components.d.ts"
],
"exclude": ["node_modules", "dist", "public", "tests", "dev-dist"]
}