-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
54 lines (53 loc) · 1.46 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
51
52
53
54
{
"compileOnSave": true,
"compilerOptions": {
"module": "commonjs",
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
"inlineSources": false,
"inlineSourceMap": false,
// "declaration": true,
"jsx": "react",
"newLine": "LF",
"pretty": true,
"stripInternal": true,
"diagnostics": true,
"target": "es5",
"watch": false,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
//can't use outDir/rootDir with .ts files used for definitions. see: https://github.com/Microsoft/TypeScript/issues/6496#issuecomment-302886203
//"outDir": "./dist",
//"rootDir": "./src",
"noImplicitReturns": false,
"noImplicitAny": false,
"noImplicitThis": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"strictNullChecks": false,
// "alwaysStrict": false,
// "allowUnreachableCode": true,
// "allowUnusedLabels": true,
// "noFallthroughCasesInSwitch": false,
// "noImplicitUseStrict": true,
"noEmitOnError": false,
// "suppressImplicitAnyIndexErrors": true,
//workaround for npm linking projects and associated dupe identifier bugs: https://github.com/Microsoft/TypeScript/issues/9566#issuecomment-287633339
"baseUrl": "./",
"paths": {
"*": [
"node_modules/@types/*",
"*",
"custom-dts/*"
]
}
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist"
]
}