-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
51 lines (51 loc) · 1.41 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
48
49
50
51
/**
* @program: dolphin-admin
* @description: vite的typescript编译配置
* vite内部使用esbuild对typescript编译成js
* vite天然对typescript的支持文档: https://vitejs.bootcss.com/guide/features.html#typescript
* 配置官方文档: https://www.typescriptlang.org/docs/handbook/compiler-options.html
* @author: entfrm开发团队-王翔
* @create: 2022/4/6
*/
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"strictFunctionTypes": false,
"jsx": "preserve",
"baseUrl": ".",
"allowJs": true,
"sourceMap": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
"lib": ["dom", "esnext"],
"noImplicitThis" : false,
"noImplicitAny": false,
"skipLibCheck": true,
"types": ["node", "vite/client", "@amap/amap-jsapi-loader/src/global"],
"typeRoots": ["./node_modules/@types/", "./types"],
"removeComments": true,
"paths": {
"/@/*": ["src/*"],
"/#/*": ["types/*"]
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"types/**/*.d.ts",
"types/**/*.ts",
"build/**/*.ts",
"build/**/*.d.ts",
"vite.config.ts",
"api/**/*.ts"
],
"exclude": ["node_modules", "dist", "**/*.js"]
}