Skip to content

Commit d7d6943

Browse files
committed
🔧 Fix tsconfig.node.json completely
- Removed inheritance from problematic base config - Set proper target and lib values (ES2022) - Fixed module and moduleResolution settings - Removed tsBuildInfoFile without incremental - All TypeScript configuration errors resolved
1 parent 2f52d8c commit d7d6943

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎tsconfig.node.json‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
32
"include": [
43
"vite.config.*",
54
"vitest.config.*",
@@ -9,10 +8,16 @@
98
"eslint.config.*"
109
],
1110
"compilerOptions": {
11+
"target": "ES2022",
12+
"lib": ["ES2022"],
13+
"module": "ESNext",
14+
"moduleResolution": "bundler",
15+
"allowSyntheticDefaultImports": true,
16+
"esModuleInterop": true,
17+
"allowJs": true,
18+
"strict": true,
1219
"noEmit": true,
13-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
14-
"module": "NodeNext",
15-
"moduleResolution": "Bundler",
20+
"skipLibCheck": true,
1621
"types": ["node"]
1722
}
1823
}

0 commit comments

Comments
 (0)