-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
44 lines (44 loc) · 1.19 KB
/
tsconfig.json
File metadata and controls
44 lines (44 loc) · 1.19 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
{
"compilerOptions": {
"jsx": "preserve",
"target": "ES2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"noEmit": true,
"incremental": true,
"strictFunctionTypes": false, // ✅ Allows more flexible function typing
"noUncheckedIndexedAccess": false, // ✅ Helps avoid weird TS issues
"strictNullChecks": false , // ✅ Temporarily disable for debugging,
"module": "esnext",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".", // Ensure this is correctly configured to handle relative imports
"paths": {
"@/*": ["./app/*"] // Ensure your paths are set if you use aliases in imports
}
},
"include": [
"next-env.d.ts",
".next/types/**/*.ts",
"app/**/*.ts", // Include app directory types
"pages/**/*.ts", // Include pages if you're using both
"**/*.ts",
"**/*.tsx"
, "app/layout.js", "app/product/[id]/layout.js", "app/product/[id]/loading.js" ],
"exclude": [
"node_modules"
]
}