-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
74 lines (53 loc) · 2.09 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
/* Signal the IDE to generate all files upon saving. */
"compileOnSave": false,
"compilerOptions": {
/* Generates corresponding .d.ts file. */
"declaration": true,
/* Output directory for generated declaration files. */
"declarationDir": "out/types",
/* Show diagnostic information. */
"diagnostics": true,
/* Only emit ‘.d.ts’ declaration files. */
"emitDeclarationOnly": true,
/* Import non-ES modules as default imports. */
"esModuleInterop": true,
/* Disallow inconsistently-cased references to the same file. */
"forceConsistentCasingInFileNames": true,
/* Import emit helpers (e.g. __extends, __rest, etc..) from tslib. */
"importHelpers": true,
/* Support JSX in .tsx files */
"jsx": "react",
/* Print names of generated files part of the compilation. */
"listEmittedFiles": true,
/* Specify module code generation. */
"module": "esnext",
/* Determine how modules get resolved. */
"moduleResolution": "node",
/* Do not emit outputs if any errors were reported. */
"noEmitOnError": true,
/* Do not truncate error messages. */
"noErrorTruncation": true,
/* Report errors for fallthrough cases in switch statement. */
"noFallthroughCasesInSwitch": true,
/* Report an error when not all code paths in function return a value. */
"noImplicitReturns": true,
/* Include modules imported with .json extension. */
"resolveJsonModule": true,
/* Generates corresponding .map file. */
"sourceMap": true,
/* Enable all strict type checking options. */
"strict": true,
/* Specify ECMAScript target version. */
"target": "es5"
},
/* A list of glob-like file patterns to be transpiled. */
"include": [
"src/**/*"
],
/* A list of glob-like file patterns to be excluded from transpilation. */
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}