Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(DropdownItem): simplify component type #6659

Merged
merged 1 commit into from Jul 16, 2023
Merged

fix(DropdownItem): simplify component type #6659

merged 1 commit into from Jul 16, 2023

Conversation

kyletsang
Copy link
Member

Fixes #6651

Simplifies BsPrefixRefForwardingComponent<typeof BaseDropdownItem, DropdownItemProps> to BsPrefixRefForwardingComponent<'a', DropdownItemProps>

The typeof BaseDropdownItem compiles into an import from @restart/ui/esm/... but that isn't exposed in the package.json exports. I'm not sure how to fix the import path, so this small fix will do for now.

@kyletsang kyletsang requested a review from jquense July 14, 2023 21:17
@kyletsang kyletsang merged commit d25e5f9 into master Jul 16, 2023
12 of 13 checks passed
@kyletsang kyletsang deleted the fix-types branch July 16, 2023 18:54
@kevin82222
Copy link

When running tsc, this issue has been bothering me, and I'm not sure how to resolve it. I was close to looking for other packages.
Really looking forward to the new release!

@kyletsang
Copy link
Member Author

@kevin82222 the fix is released in 2.9.0-beta.1 if you want to try it

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.

Type declarations for DropDown.d.ts and NavDropDown.d.ts have invalid import to @restart/ui/esm/types
3 participants