-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
50 lines (45 loc) · 1.23 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
{
"include": ["src/**/*.ts"],
"compilerOptions": {
"module": "commonjs",
"outDir": "dist",
"target": "esnext",
// Basic Options
"checkJs": true,
// "rootDir": "src",
"sourceMap": true,
// "declaration": true,
// "declarationMap": true,
// "declarationDir": "dist/@types",
"removeComments": true,
"importHelpers": true,
// Strict Type-Checking Options
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
// Additional Checks
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"allowUnreachableCode": false,
// Module Resolution Options
"esModuleInterop": true,
"resolveJsonModule": true,
"moduleResolution": "node",
// Advanced Options
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
// Build options
"listFiles": false,
"listEmittedFiles": true
}
}