From 1175960aa414fe81fc0efc99a45d0d5da2358cd4 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Sat, 7 Oct 2023 21:04:12 +0200 Subject: [PATCH] Set module and moduleResolution TypeScript configs appropriately --- sample/tsconfig.json | 3 ++- test/tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sample/tsconfig.json b/sample/tsconfig.json index d8e1ea4..5fc6458 100644 --- a/sample/tsconfig.json +++ b/sample/tsconfig.json @@ -4,7 +4,8 @@ "esModuleInterop": true, "isolatedModules": true, "jsx": "react-jsx", - "moduleResolution": "node", + "module": "esnext", + "moduleResolution": "bundler", "noUncheckedIndexedAccess": true, "outDir": "dist", "strict": true, diff --git a/test/tsconfig.json b/test/tsconfig.json index d8e1ea4..5fc6458 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -4,7 +4,8 @@ "esModuleInterop": true, "isolatedModules": true, "jsx": "react-jsx", - "moduleResolution": "node", + "module": "esnext", + "moduleResolution": "bundler", "noUncheckedIndexedAccess": true, "outDir": "dist", "strict": true,