Skip to content

Commit f299fc0

Browse files
committed
set module=node20, new in TypeScript 5.9
Effectively synonymous with nodenext.
1 parent 3955fe2 commit f299fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"forceConsistentCasingInFileNames": true,
77
"lib": ["es2022"],
88
"target": "es2022",
9-
"module": "nodenext",
10-
"moduleResolution": "nodenext",
9+
"module": "node20",
10+
"moduleResolution": "node16",
1111
"newLine": "LF",
1212
"noEmitOnError": true,
1313
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)