From b6d4cb72a1b4a54a8ae671d76fca17b2d4843006 Mon Sep 17 00:00:00 2001 From: Aniket Katkar Date: Mon, 6 Oct 2025 10:50:16 +0530 Subject: [PATCH] Fix(UI): Type error in vite config for ui core components (#23718) * Update the tsconfig.json for core component * Fix json type check * update the module resolution to nodenext --- .../src/main/resources/ui/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-ui-core-components/src/main/resources/ui/tsconfig.json b/openmetadata-ui-core-components/src/main/resources/ui/tsconfig.json index b3a304ab460..a857c44d07e 100644 --- a/openmetadata-ui-core-components/src/main/resources/ui/tsconfig.json +++ b/openmetadata-ui-core-components/src/main/resources/ui/tsconfig.json @@ -2,12 +2,12 @@ "compilerOptions": { "target": "ES5", "lib": ["ES2020", "DOM", "DOM.Iterable"], - "module": "esnext", + "module": "nodenext", "skipLibCheck": true, "allowJs": false, "strict": true, "forceConsistentCasingInFileNames": true, - "moduleResolution": "node", + "moduleResolution": "nodenext", "resolveJsonModule": true, "isolatedModules": true, "noEmit": false,