Skip to content

Commit

Permalink
Leave moduleResolution value unspecified in tsconfig.json to fix …
Browse files Browse the repository at this point in the history
…Jest error `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` when running `npm test`. Based on kulshekhar/ts-jest#4198 (comment).
  • Loading branch information
br-tyler-milner committed Feb 16, 2025
1 parent d68a437 commit e654ef9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"baseUrl": ".",
"outDir": "dist",
"module": "node16",
"moduleResolution": "node16",
"moduleDetection": "force",
"target": "ES2020", // Node.js 14
"lib": [
Expand Down

0 comments on commit e654ef9

Please sign in to comment.