-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
28 lines (28 loc) · 1.23 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
// https://www.typescriptlang.org/tsconfig#extends
// The configuration from this file is loaded first, then overridden by those in the inheriting config file. But path-based compiler options (outDir, outFile, rootDir, include, exclude, files) are resolved from the config file they're found in. They cannot be extended (https://github.com/microsoft/TypeScript/issues/29172).
// Config ref: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
{
// https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"composite": true,
"module": "node16",
"moduleResolution": "Node16",
"esModuleInterop": false,
"resolveJsonModule": true,
"sourceMap": true,
"types": ["jest", "node"],
"declaration": true,
"declarationMap": true,
"preserveConstEnums": true,
"noImplicitAny": true,
// TODO: cleanup unknown usage in catch blocks and remove below setting
"useUnknownInCatchVariables": false,
// TODO: cleanup unused vars (about 170 errors of unused vars) (W-11052270)
// "noUnusedLocals": true,
"allowSyntheticDefaultImports": true,
"rootDir": ".",
"outDir": "out"
},
"exclude": ["node_modules", "out"]
}