Skip to content

Commit

Permalink
Use --module node16 in tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
samestep committed Dec 16, 2023
1 parent 0d1dcd6 commit cf95b07
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
"DOM", // https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/826
"ES2021" // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
],
"module": "ES2022", // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await
"moduleResolution": "node16",
"module": "Node16",
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"strict": true,
"target": "ES2022" // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await
"strict": true
}
}

0 comments on commit cf95b07

Please sign in to comment.