I think modifier should be optional.
-export declare function createTooltip(el: any, value: any, modifiers: any): {
+export declare function createTooltip(el: any, value: any, modifiers?: any): {
options: any;
item: {
id: number;
options: any;
shown: Ref<boolean>;
};
show(): void;
hide(): void;
};
At least the exemple in the documentation doesn't specify it.
It only has 2 arguments.
https://floating-vue.starpad.dev/api/#createtooltip
