From 47c5bc7c6ed610d24976fa4e093dbb9f158024a6 Mon Sep 17 00:00:00 2001 From: malik najjar Date: Sat, 20 Jan 2024 23:06:02 +0100 Subject: [PATCH] adjusting the configuration of typescript --- tsconfig.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index ac0e616..72d73d0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { - "target": "ESNext", + "target": "es2015", "useDefineForClassFields": true, - "module": "ESNext", - "lib": ["ESNext", "DOM"], - "moduleResolution": "Node", + "module": "commonjs", + "lib": ["esnext", "DOM"], + "moduleResolution": "node", "strict": true, "resolveJsonModule": true, "isolatedModules": true, @@ -18,6 +18,7 @@ "declarationMap": true, "declarationDir": "types", "outDir": "js_dist", + "downlevelIteration": true }, "include": ["src"] }