-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
tsconfig.json
47 lines (47 loc) · 1.31 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
{
"compilerOptions": {
"allowJs": true,
"checkJs": false,
"strict": true,
"alwaysStrict": true,
"target": "ES2021",
"module": "commonJS",
"moduleResolution": "node",
"skipLibCheck": true,
"lib": [
"es2021",
"ES2022.Error",
"ES2022.Object"
],
// We don't make use of tslib helpers, all syntax used is supported by target engine
"importHelpers": false,
"noEmitHelpers": true,
// Never emit error filled code
"noEmitOnError": true,
"outDir": "lib",
// We want the sourcemaps in a separate file
"inlineSourceMap": false,
"sourceMap": true,
// API-Extractor uses declaration maps to report problems in source, no need to distribute
"declaration": true,
"declarationMap": true,
// we include sources in the release
"inlineSources": false,
// Prevents web types from being suggested by vscode.
"types": [
"node"
],
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
// TODO(NODE-3659): Enable useUnknownInCatchVariables and add type assertions or remove unnecessary catch blocks
"useUnknownInCatchVariables": false
},
"ts-node": {
"transpileOnly": true,
"compiler": "typescript-cached-transpile"
},
"include": [
"src/**/*"
]
}