forked from crackedstudio/tikka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
47 lines (40 loc) · 1.11 KB
/
Copy pathtsconfig.base.json
File metadata and controls
47 lines (40 loc) · 1.11 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
43
44
45
46
47
{
"compilerOptions": {
// Module resolution
"module": "commonjs",
"moduleResolution": "node",
"target": "ES2021",
"lib": ["ES2021"],
// Output
"declaration": true,
"sourceMap": true,
"removeComments": true,
"outDir": "./dist",
"baseUrl": "./",
// Decorators (required for NestJS)
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
// Performance
"incremental": true,
"skipLibCheck": true,
// Interop
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// Safety
"noFallthroughCasesInSwitch": true,
// Strict mode - enables all strict type checking options
"strict": true
/*
* The "strict" flag above is equivalent to enabling:
* - strictNullChecks: true
* - noImplicitAny: true
* - strictBindCallApply: true
* - strictFunctionTypes: true
* - strictPropertyInitialization: true
* - noImplicitThis: true
* - alwaysStrict: true
* - useUnknownInCatchVariables: true (TS 4.4+)
*/
}
}