From 3cd382a3622862860a8e23cf63f7895be6ef9012 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Sun, 11 Feb 2024 12:55:59 -0500 Subject: [PATCH] build: disable `verbatimModuleSyntax` for `ts-node` There is currently a bug in ts-node where it completely ignores the `module` and `moduleResolution` options https://github.com/kulshekhar/ts-jest/issues/4198 --- tsconfig.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index e4326713..93efaa61 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,8 @@ "extends": "./node_modules/@octokit/tsconfig/tsconfig.json", "include": ["src/**/*"], "ts-node": { - "transpileOnly": true, "compilerOptions": { - "module": "Node16", - "target": "Node16", - "esModuleInterop": true + "verbatimModuleSyntax": false } }, "compilerOptions": {