-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
52 lines (46 loc) · 1.46 KB
/
tsconfig.json
File metadata and controls
52 lines (46 loc) · 1.46 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
{
"compilerOptions": {
/* Basic Options */
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext",
"lib": ["es2022", "dom"], // Include "dom" in "lib" for React
"outDir": "./dist",
"rootDir": "./src",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
/* React Options */
"jsx": "react-jsx", // Set "jsx": "react-jsx"
/* Strict Type Checking Options */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
/* Module Resolution Options */
"baseUrl": "./src",
"paths": {
"components/*": ["components/*"],
"layouts/*": ["layouts/*"],
"screens/*": ["screens/*"],
"theme/*": ["theme/*"],
"utils/*": ["utils/*"],
"router/*": ["router/*"]
},
"resolveJsonModule": true,
/* Source Map Options */
"sourceMap": true,
/* Other Options */
"noEmit": false,
"isolatedModules": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}