-
Notifications
You must be signed in to change notification settings - Fork 69
/
tsconfig.base.json
40 lines (40 loc) · 1.3 KB
/
tsconfig.base.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
{
"compilerOptions": {
// We target ES2017, but require the Text Encoding API, and optionally
// BigInt and AsyncIterable, see below.
"target": "es2017",
"lib": [
"ES2017",
// ES2020.BigInt for the bigint representation of 64-bit integers
// Note that these are only required for using bigint literals
// or the BigInt constructor function.
"ES2020.BigInt",
// AsyncIterable is required only for src/wire/size-delimited.ts.
"ES2018.AsyncIterable"
],
"declaration": true,
// Prevent tsc from picking up @types/node and others
"types": [],
// We don't have dependencies that require interop
"esModuleInterop": false,
// As strict as possible
"strict": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
// We're building with Node16 module resolution
"moduleResolution": "Node16",
"module": "Node16",
"verbatimModuleSyntax": true,
"skipLibCheck": false
}
}