-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
24 lines (24 loc) · 994 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
{
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
"compilerOptions": {
"lib": ["ES2019"],
"target": "ES2019",
"declaration": false,
"inlineSourceMap": true,
"inlineSources": true,
"strict": true,
// linter checks for common issues
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
// use Node's module resolution algorithm, instead of the legacy TS one
"moduleResolution": "node",
// interop between ESM and CJS modules. Recommended by TS
"esModuleInterop": true,
// significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
"skipLibCheck": true,
// error out if import and file system have a casing mismatch. Recommended by TS
"forceConsistentCasingInFileNames": true,
"noUncheckedIndexedAccess": true
}
}