From c326516af5a780ad59f239cf008501519aeb2ee2 Mon Sep 17 00:00:00 2001 From: semke Date: Fri, 13 Oct 2023 11:07:56 +0500 Subject: [PATCH] Change module and target in tsconfig.json --- db-viewer-ui/tsconfig.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/db-viewer-ui/tsconfig.json b/db-viewer-ui/tsconfig.json index 66217747..c2aee3c7 100644 --- a/db-viewer-ui/tsconfig.json +++ b/db-viewer-ui/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "allowJs": false, - "esModuleInterop": false, "baseUrl": "./", "rootDir": "./", "outDir": "./dist", @@ -11,7 +10,8 @@ "noUnusedParameters": false, "pretty": true, "allowSyntheticDefaultImports": true, - "target": "ES5", + "target": "ES2015", + "module": "commonjs", "useDefineForClassFields": true, "lib": ["DOM", "DOM.Iterable", "ESNext"], "skipLibCheck": true, @@ -23,7 +23,6 @@ "suppressImplicitAnyIndexErrors": true, "strict": true, "forceConsistentCasingInFileNames": true, - "module": "ESNext", "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true,