From e654ef9ef5b9b5c713d027aa8483b48d5137b800 Mon Sep 17 00:00:00 2001 From: Tyler Milner Date: Sun, 16 Feb 2025 13:07:42 -0600 Subject: [PATCH] Leave `moduleResolution` value unspecified in `tsconfig.json` to fix Jest error `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` when running `npm test`. Based on https://github.com/kulshekhar/ts-jest/issues/4198#issuecomment-1863407516. --- tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 684c00a..029e5d8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ "baseUrl": ".", "outDir": "dist", "module": "node16", - "moduleResolution": "node16", "moduleDetection": "force", "target": "ES2020", // Node.js 14 "lib": [