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

Export usePopper options type #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

valtism
Copy link

@valtism valtism commented Dec 28, 2021

Exporting the options type is very useful as it is currently impossible to get it using Parameters<typeof usePopper>[2] as extending an interface in Typescript will throw the error An interface can only extend an identifier/qualified-name with optional type arguments because of the <TModifier extends Partial inside createPopper's type.

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.

None yet

1 participant