-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
This library looks great, but I'm having a bit of trouble with its included typings. The useContainerQuery
hook returns any[]
, but in reality it seems to always return a tuple of two specific types.
Is there any reason why useContainerQuery
hook can't have its return value typed more precisely, something like [Params, React.Ref]
?
Also, the second argument (initialSize
) is required by the typings, but the readme examples and the source suggest that it isn't required IRL.
awmottaz, nayaabkhan, akafaneh, ajkl2533, notsunohito and 1 more
Metadata
Metadata
Assignees
Labels
No labels