-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
29 lines (29 loc) · 977 Bytes
/
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
{
"compilerOptions": {
// Compilation options
"sourceMap": true,
"jsx": "react", // So we don't need babel after
"lib": ["dom", "es5", "es2015.promise", "es6", "es2017"],
"target": "es5", // Support older browser
"module": "esnext", // Let webpack do the job
"moduleResolution": "node", // Auto get type from npm
"importHelpers": true,
// type checking option
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noImplicitThis": true,
"allowSyntheticDefaultImports": true,
"strictPropertyInitialization": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"alwaysStrict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
},
"exclude": [
"node_modules"
]
}