-
Notifications
You must be signed in to change notification settings - Fork 19
/
tsconfig.json
44 lines (44 loc) · 1.21 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
{
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"types": ["node"],
"target": "es2020",
"lib": ["es2020", "dom"],
"outDir": "out",
"sourceMap": true,
"rootDir": "src",
"allowJs": false,
// Strict mode (9)
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
// No unused code (4)
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
// No implicit code (2)
"noImplicitOverride": true,
"noImplicitReturns": true,
//
// "noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch": true,
// "exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"paths": {
"@app/*": ["./src/*"]
}
},
"include": ["src/**/*.ts"],
"exclude": ["**/*.d.ts", "out/**/*", "node_modules", ".vscode-test"]
}