From 2822b6cc8d361f4c50c9181b9e2dc97dc8814013 Mon Sep 17 00:00:00 2001 From: Levi Buzolic Date: Thu, 6 Apr 2023 12:41:46 +1000 Subject: [PATCH] Fix dynamic imports for ES Modules --- tsconfig.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index b226f8b..f8eb70e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "module": "commonjs", - "moduleResolution": "node", + "moduleResolution": "node16", "declaration": true, "noImplicitAny": false, "noImplicitThis": true, @@ -12,8 +12,6 @@ "forceConsistentCasingInFileNames": true, "target": "es5", "lib": ["es2017"], - "typeRoots": [ - "node_modules/@types" - ] + "typeRoots": ["node_modules/@types"] } }