You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typescript 4.3.5 cannot cast the return object of getPlugin into an object with those functions. And if I mark the return object as type Plugin, typescript gives an error for not having those functions.
Your Proposal for Changes
Add interface Tooltip instead of const Tooltip
Example
The text was updated successfully, but these errors were encountered:
Documentation Is:
Please Explain in Detail...
The documents suggest using tooltip custom positioner like this:
getRegistry
returns the tooltip asPlugin
,The element that can be used for customized positioning like above, is
Typescript 4.3.5 cannot cast the return object of getPlugin into an object with those functions. And if I mark the return object as type Plugin, typescript gives an error for not having those functions.
Your Proposal for Changes
Add interface Tooltip instead of const Tooltip
Example
The text was updated successfully, but these errors were encountered: