-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathtsconfig.json
More file actions
42 lines (36 loc) 路 1.16 KB
/
Copy pathtsconfig.json
File metadata and controls
42 lines (36 loc) 路 1.16 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
33
34
35
36
37
38
39
40
41
42
{
"compilerOptions": {
// Node 12 is the oldest runtime `engines` claims, and it predates
// nullish coalescing and optional chaining. Emitting for es2019 makes tsc
// downlevel those and reject any newer syntax at compile time, so the
// published output cannot drift past what node 12 can parse. `lib` stays
// at es2020 for the BigInt types; BigInt itself exists in node 12.
"target": "es2019",
"module": "commonjs",
"allowJs": true,
"declaration": true,
"declarationMap": false,
"rootDir": "./src",
"outDir": "./dist",
"resolveJsonModule": true,
"sourceMap": true,
"inlineSources": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2020"]
},
"include": ["./src/**/*.ts"]
}