From fe5b66c251922af38a44d25524f8760ef9601ed0 Mon Sep 17 00:00:00 2001 From: Jonathan Neuteboom Date: Sun, 6 Oct 2024 18:02:00 +0200 Subject: [PATCH] Use es2022 as module --- tsconfig.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index d911048..b3b7ec5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,13 @@ { "compilerOptions": { - "module": "NodeNext", + "module": "ES2022", "outDir": "dist", "lib": ["es2019"], "strict": true, "target": "esnext", - "moduleResolution": "NodeNext", - "skipLibCheck": true + "moduleResolution": "Bundler", + "skipLibCheck": true, + "esModuleInterop": true }, "files": ["src/index.ts"] }