-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
76 lines (68 loc) · 1.77 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022", // Node.js 18
"allowJs": true,
"moduleDetection": "force",
"allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules.
"resolveJsonModule": false, // ESM doesn't yet support JSON modules.
/* ModuleResolution: */
"module": "CommonJS",
"moduleResolution": "node",
/* Output: */
"sourceMap": true,
"jsx": "react",
"useDefineForClassFields": true,
"forceConsistentCasingInFileNames": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"incremental": true,
/* Prettify */
"pretty": true,
"newLine": "lf",
"removeComments": true,
"stripInternal": true,
/* Strictness */
"strict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noEmitOnError": true,
"baseUrl": "src",
"paths": {
"@lib/*": [
"./lib/*"
],
"@common/*": [
"./common/*"
],
"@modules/*": [
"./modules/*"
],
"@entities": [
"./entities"
],
"@mocks": [
"./_mocks_"
],
"@generated": [
"./generated"
]
},
"declaration": true,
"outDir": "dist"
},
"include": [
"test/**/*",
"src/**/*",
"eslint.config.js"
],
"typeRoots": ["./src/common/@types/typings"]
}