-
Notifications
You must be signed in to change notification settings - Fork 7
/
tsconfig.json
47 lines (47 loc) · 1.18 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
43
44
45
46
47
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": true,
"jsx": "preserve",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strictPropertyInitialization": false, // 避免 Property 'xxx' has no initializer and is not definitely assigned in the constructor.
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"types": [
"node",
],
"paths": {
"@/*": [ "src/*" ],
"views_alias/*": [ "src/views/*" ],
"store_alias/*": [ "src/store/*" ],
"cms_alias/*": [ "src/views/cms/*" ],
"utils_alias/*": [ "src/utils/*" ],
"mixins_alias/*": [ "src/mixins/*" ],
"assets_alias/*": [ "src/assets/*" ],
"extends_alias/*": [ "src/extends/*" ],
"services_alias/*": [ "src/services/*" ],
"components_alias/*": [ "src/components/*" ],
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules"
]
}