From d71c1de12143f382946d36cbdc78554cfa91b4a2 Mon Sep 17 00:00:00 2001 From: Wee Bit Date: Thu, 17 Aug 2023 03:54:50 +0200 Subject: [PATCH] Set "module" to "node16" in TSConfig --- tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 3f44938d8..b189c1ec2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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" ],