-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (40 loc) · 1.18 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
{
"compileOnSave": false,
"compilerOptions": {
"lib": [
"dom",
"es2015",
"es2016",
],
"esModuleInterop": true,
"experimentalDecorators": true,
"jsx": "react",
"target": "es2017",
"module": "esnext",
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
"skipLibCheck": true,
"allowJs": true,
"checkJs": true,
"resolveJsonModule": true,
// strictFunctionTypes will trigger errors with decorators.
"strictFunctionTypes": false,
// strictNullChecks is almost impossible to turn on, it will give you countless errors
"strictNullChecks": true,
"noImplicitAny": true,
// strictPropertyInitialization depends on nullChecks
"strictPropertyInitialization": false,
"suppressImplicitAnyIndexErrors": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"noEmit": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
]
}