This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
49 lines (35 loc) · 1.5 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"include": ["ts-prototype"],
"exclude": ["**/node_modules"],
"compilerOptions": {
// For default values, see here:
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
"lib": ["ES2019"],
"module": "commonjs",
/* 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": "esnext",
/* 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
}
}