-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (38 loc) · 1.51 KB
/
Copy pathtsconfig.json
File metadata and controls
38 lines (38 loc) · 1.51 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
{
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"resolvePackageJsonExports": true,
"esModuleInterop": true,
"isolatedModules": true,
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"outDir": "./dist",
// TypeScript 6 requires the layout anchor to be explicit (TS5011). The build config narrows
// this to ./src; here it spans src + test for ts-jest and the editor.
"rootDir": ".",
"incremental": true,
"skipLibCheck": true,
// TypeScript 6 no longer auto-includes every node_modules/@types package: the globals the
// project relies on must be listed. node covers src; jest covers the colocated *.spec.ts.
"types": ["node", "jest"],
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"strictBindCallApply": true,
// TypeScript 6 defaults the whole strict family ON. This project opts into strict flags
// selectively (see the explicit trues above); these three stay off pending their own migrations —
// strictPropertyInitialization alone flags ~260 TypeORM entity properties.
"strictPropertyInitialization": false,
"strictFunctionTypes": false,
"useUnknownInCatchVariables": false,
"noFallthroughCasesInSwitch": true
},
"exclude": ["node_modules", "dist", "dashboard"],
"include": ["src", "test"]
}