Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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.

@henrijeret
Copy link

Please merge this :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants