-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (27 loc) · 921 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": {
"esModuleInterop":true,
"alwaysStrict": true,
"noFallthroughCasesInSwitch":true,
"noImplicitAny":true,
"noImplicitReturns": true,
"noImplicitThis": true,
"strictFunctionTypes":true,
"strictPropertyInitialization":true,
"strictNullChecks": true,
"strictBindCallApply": true,
// Output controls.
"outDir": "./dist",
"target": "es2018",
"module": "commonjs", // module system to use in generated js. commonjs is what is used by node.
"sourceMap": true,
"inlineSources": true, // otherwise sourcemaps will refer to the original ts sources, which will have to be served for resolution to work.
"declaration": true, // output declaration files (.d.ts)
// Input controls.
"rootDir": "./src",
"moduleResolution": "node", // mechanism for resolving (searching for) modules.
"lib": [
"es2018"
]
}
}