-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (29 loc) · 800 Bytes
/
Copy pathtsconfig.json
File metadata and controls
32 lines (29 loc) · 800 Bytes
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
{
"compilerOptions": {
"incremental": true,
"outDir": "./build/", // path to output directory
"sourceMap": true, // allow sourcemap support
"alwaysStrict": true,
// "noImplicitAny": true,
"noImplicitThis": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"noFallthroughCasesInSwitch": true,
"module": "commonjs",
"esModuleInterop": true,
"jsx": "react", // use typescript to transpile jsx to js
"target": "es2019",
"lib": [
"DOM",
"ES2019",
"ScriptHost",
],
// see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33015
"types": ["node", "jest"],
},
"include": [
"./src/"
]
}