-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (37 loc) · 1020 Bytes
/
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
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "node",
// "allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"strict": true,
"allowJs": true,
// "esModuleInterop": false,
"noFallthroughCasesInSwitch" : true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": "src",
"paths": {
"@styles/*": ["assets/styles/*"],
"@models/*": ["_shared/models/*"],
"@layouts/*": ["layouts/*"],
"@pages/*": ["pages/*"],
"@routes/*": ["routes/*"],
"@components/*": ["components/*"],
"@utils/*": ["_shared/utils/*"],
"@lib/*" : ["_shared/lib/*"],
"@store/*": ["store/*"],
"@hooks/*" : ["_shared/hooks/*"],
"@features/*" : ["features/*"],
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}