This repository was archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (32 loc) · 1.4 KB
/
Copy pathtsconfig.json
File metadata and controls
32 lines (32 loc) · 1.4 KB
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": {
// For default values, see here:
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
/* This is needed for TypeScript References to work; a useful tool */
"composite": true,
/* We always want .d.ts files to be emitted for external packages re-using types */
"declaration": true,
/* We also want .d.ts.map files so Jump To Source in VS Code works */
"declarationMap": true,
/* It is frustrating navigating a codebase with inconsistent file names */
"forceConsistentCasingInFileNames": true,
/* As a default, we like to build modules for bleeding-edge compatible outputs */
"module": "commonjs",
/* Node module resolution is the more recent version */
"moduleResolution": "node",
/* This is useful for detecting potentially buggy code */
// "noImplicitReturns": true,
/* There is very rarely any reason to keep comments in emitted code */
"removeComments": true,
/* We often reference small-medium sized .json files in our source code */
"resolveJsonModule": true,
/* Having source maps is incredibly useful when developing */
"sourceMap": true,
/* TypeScript offers many benefits, we should benefit from them and not drop down into JS */
"strict": true,
/* We like using bleeding-edge language features */
"target": "es2019",
"esModuleInterop": true,
"skipLibCheck": true
}
}