Skip to content

Commit 99292d8

Browse files
committed
fix(auto-install): set TS module to NodeNext in shared config to match NodeNext resolution
1 parent b898b1e commit 99292d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.config/tsconfig.base.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"allowSyntheticDefaultImports": true,
44
"esModuleInterop": true,
55
"lib": ["ESNext"],
6-
"module": "esnext",
6+
// Use NodeNext module kind when using NodeNext resolution (required by TS)
7+
"module": "NodeNext",
78
// Use NodeNext for broad compatibility with both TS 4.8 and 5.x
89
// (TS 4.8 does not support "bundler" resolution yet.)
910
"moduleResolution": "nodenext",

0 commit comments

Comments
 (0)