-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
31 lines (29 loc) · 1013 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
30
31
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"lib": ["es2015"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"skipLibCheck": true,
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"esModuleInterop": true
},
// See: https://www.typescriptlang.org/docs/handbook/project-references.html#overall-structure
//
// Another good practice is to have a “solution” tsconfig.json file that simply has
// references to all of your leaf-node projects and sets files to an empty array
// (otherwise the solution file will cause double compilation of files)
"files": [],
"references": [{ "path": "./src" }, { "path": "./test" }]
}