diff --git a/sample/tsconfig.json b/sample/tsconfig.json index d8e1ea43..5fc6458c 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 d8e1ea43..5fc6458c 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,