-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
50 lines (41 loc) · 2.13 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
{
"compilerOptions": {
"target": "es6",
"module": "ESNext", // es6. ES2020 adds support for dynamic imports & import.meta
"lib": ["dom", "es2020"],
"moduleResolution": "Node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
// "suppressImplicitAnyIndexErrors": true,
"preserveConstEnums": true,
/* Strict Type-Checking Options */
"strict": true, // Enable all strict type-checking options
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
"strictNullChecks": true, // Enable strict null checks
"noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type
"alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file
"noFallthroughCasesInSwitch": true, // Report error when not all code paths in function return a value
/* Additional Checks */
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitOverride": true,
// "noUnusedLocals": false, // Report errors on unused locals
// "noUnusedParameters": true, // Report errors on unused parameters
"noImplicitReturns": false,
"typeRoots": [
"./node_modules/@types/"
]
},
"exclude": [ "node_modules" ],
"files": [
"src/ts/chargyApp.ts"
],
"awesomeTypescriptLoaderOptions": {
"useWebpackText": true
},
}