-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
34 lines (33 loc) · 1.22 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
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"allowJs": false,
"jsx": "react",
"module": "commonjs",
"noImplicitAny": true,
"outDir": "./build/",
"preserveConstEnums": true,
"removeComments": true,
"sourceMap": false,
"target": "es5",
"resolveJsonModule": true,
//"suppressImplicitAnyIndexErrors": true, Option 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.ts
"typeRoots": [ "./src/types", "./node_modules/@types"],
"lib": [ "es2020", "dom" ],
"paths": {
"@components/*": ["./src/components/*"],
"@constants/*": ["./src/constants/*"],
"@contexts/*": ["./src/contexts/*"],
"@hooks/*": ["./src/hooks/*"],
"@services/*": ["./src/services/*"],
"@store/*": ["./src/store/*"],
"@styles/*": ["./src/style/*"],
"@typings/*": ["./src/types/*"],
"@utils/*": ["./src/utils/*"],
}
},
"exclude": ["node_modules", "typings"],
"include": [
"./src/**/**/*"
]
}