vue-tippy
vue-tippy copied to clipboard
fix(tippy-component): use Element constructor for to prop
Using Element
as the prop constructor should work just fine. The usage of Function
constructor also causes Vue warnings, when an Element
is provided as the value.
This way there is no longer need to cast the prop using PropType<string | Element>
.