-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
34 lines (34 loc) · 1.29 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
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"lib": ["ES5", "ES6", "ES7", "ES2017", "dom"],
"jsx": "react",
"allowJs": true,
/* Strict Type-Checking Options */
"noImplicitAny": true,
"noImplicitThis": true,
"strict": true /* Enable all strict type-checking options. */,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
/* Additional Checks */
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
/* Debugging Options */
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noEmitOnError": true,
"pretty": true /* Stylize errors and messages using color and context. */,
"traceResolution": false /* Report module resolution log messages. */,
// Customized
"declaration": true,
"outDir": "dist",
},
"exclude": [".vscode", "node_modules/**", "__test__/**"]
}