-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
27 lines (27 loc) · 886 Bytes
/
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
{
"compilerOptions": {
"typeRoots": ["./types"],
// "types":["./src/Globals.d.ts"],
"module": "es2015",
"target": "ES2020",
"lib": ["ES2021", "dom"],
"baseUrl": "src",
"skipLibCheck": true,
"paths": {
"@/*": ["./src/*"]
},
// "allowJs": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"rootDir": "src",
"strict": true /* enable all strict type-checking options */,
/* Additional Checks */
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"moduleResolution": "node",
"outDir": "./dist"
},
"include": ["./src"],
"exclude": ["node_modules", "dist"]
}