Skip to content

Conversation

MarcusNotheis
Copy link
Collaborator

@MarcusNotheis MarcusNotheis commented Mar 12, 2023

Without the .js file extension, projects building in ESM mode will fail due do an import error:

node_modules/@ui5/webcomponents/dist/features/InputElementsFormSupport.d.ts:1:29 - error TS2307: Cannot find module '@ui5/webcomponents-base/dist/UI5Element' or its corresponding type declarations.

1 import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element";
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@ilhan007 ilhan007 merged commit d37b319 into main Mar 13, 2023
@ilhan007 ilhan007 deleted the refactor/input-elements-imports branch March 13, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants