From 9ad714d49596c9ff3dc31b0eb30c691550f32b70 Mon Sep 17 00:00:00 2001 From: swiing Date: Sat, 2 Sep 2023 10:18:30 +0200 Subject: [PATCH] fix: upgrade tsconfig --- tsconfig.esm.json | 2 ++ tsconfig.json | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tsconfig.esm.json b/tsconfig.esm.json index fe4c36f..ae622a0 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -4,5 +4,7 @@ "module": "es6", "target": "es6", "outDir": "dist/esm/", + "esModuleInterop": true, + "moduleResolution": "node" } } diff --git a/tsconfig.json b/tsconfig.json index 4cf11ab..ad91a15 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,12 @@ "target": "es6", "moduleResolution": "node", "declarationDir": "./dist/esm", - "declaration": true + "declaration": true, + "module": "es6", + "outDir": "dist/esm/", + "esModuleInterop": true }, + "ts-node": { "esm": true }, "files": [ "src/bitarray.ts", "src/alphabet.ts",