-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
49 lines (49 loc) · 1.93 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
{
"compilerOptions": {
/* Paths */
"baseUrl": ".",
"outDir": "dist",
"typeRoots": [
"node_modules/@types",
"common/@types"
],
/* Project */
"target": "ESNext", // specify ECMAScript target version
"module": "ESNext", // specify module code generation
"lib": [
"DOM",
"ESNext"
],
/* Build */
"noEmit": true,
"sourceMap": true, // allow sourcemap support
"declaration": true,
"declarationMap": false,
"preserveSymlinks": true,
"jsx": "react",
/* Module Resolution Options */
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"isolatedModules": true /* Transpile each file as a separate module */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"forceConsistentCasingInFileNames": true /* Error out if import and file system have a casing mismatch. Recommended by TS. */,
"skipLibCheck": true /* Significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS. */,
"resolveJsonModule": true, // Allow importing .json files
/* Type-Checking Options */
"strict": true /* enable all strict type-checking options. Implies noImplicitAny, strictNullChecks. */,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"experimentalDecorators": true,
},
"include": [
"app",
"server",
"common",
],
"exclude": [
"dist",
"node_modules",
"db-data"
]
}