-
Notifications
You must be signed in to change notification settings - Fork 31
/
tsconfig.json
35 lines (35 loc) · 1.21 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
{
"compilerOptions": {
"baseUrl": "./", // enables relative imports to root
"paths": {
"@src/*": ["app/*"]
},
"outDir": "out/", // target for compiled files
"allowJs": true, // include js files
"checkJs": true, // typecheck js files
"declaration": false, // don't emit declarations
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true, // importing helper functions from tslib
"noEmitHelpers": true, // disable emitting inline helper functions
"jsx": "react", // process JSX
"lib": ["dom", "es2016", "es2017.object"],
"allowSyntheticDefaultImports": true,
"target": "es6",
"module": "es6",
"moduleResolution": "node",
"noEmit": true, // no emit in dev, only when bundling for prod, which is usually handled by bundlers like webpack / fuse-box / jspm
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"strictNullChecks": false,
"pretty": true,
"removeComments": true,
"sourceMap": true
},
"include": ["app/**/*"],
"exclude": ["node_modules", "dist"]
}