Skip to content

Commit cf95b07

Browse files
committed
Use --module node16 in tsconfig.json
1 parent 0d1dcd6 commit cf95b07

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
"DOM", // https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/826
66
"ES2021" // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
77
],
8-
"module": "ES2022", // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await
9-
"moduleResolution": "node16",
8+
"module": "Node16",
109
"noFallthroughCasesInSwitch": true,
1110
"skipLibCheck": true,
12-
"strict": true,
13-
"target": "ES2022" // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await
11+
"strict": true
1412
}
1513
}

0 commit comments

Comments
 (0)