-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
53 lines (51 loc) · 1.5 KB
/
Copy pathtsconfig.json
File metadata and controls
53 lines (51 loc) · 1.5 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
48
49
50
51
52
53
{
"compilerOptions": {
/* Basic Options */
"incremental": true,
"target": "es2021",
"module": "commonjs",
"outDir": "./build",
// "rootDir": "./src",
"baseUrl": "./src",
"paths": {
"@entities/*": ["./entities/*"],
"@users/*": ["./entities/users/*"],
"@type/*": ["./types/*"],
"@db/*": ["./db/*"],
"@config/*": ["./config/*"],
"@utils/*": ["./utils/*"]
},
/* Strict Type-Checking Options */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
// "allowImportingTsExtensions": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
/* Module Resolution Options */
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [
"@types",
"./node_modules/@types",
],
},
"include": ["src/**/*"],
"exclude": ["node_modules", "build", "functions"],
}