Skip to content

Commit

Permalink
Set "module" to "node16" in TSConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
aweebit committed Aug 17, 2023
1 parent b99af12 commit d71c1de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "node16",
"esModuleInterop": true, /*
should be the default with node16,
but ts-jest overwrites it with false unless explicitly set
*/
"lib": [
"es6"
],
Expand Down

0 comments on commit d71c1de

Please sign in to comment.