Open serferdinand2 opened 1 year ago
Hi!✨ I fixed it, turns out FloatingUi removed those types, I tried to update them
You can try again)
I'm having the same problem with the latest versions: floating-ui/core (1.5.0) and svelte-floating-ui (1.5.6). I used the exact same implementation and received the same error messages.
I tried implementing Arrow in the following manner as per README:
Under staticSide under Object.assign function I get the following error:
A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
My x and y are also giving me an error of :
Property 'x' (or y) does not exist on type '(Partial<Coords> & { centerOffset: number; alignmentOffset?: number | undefined; }) | undefined'.ts
when I bind $arrowRef, the error message states:
No overload matches this call. Overload 1 of 2, '(store: SvelteStore<any>): any', gave the following error. Argument of type 'HTMLElement' is not assignable to parameter of type 'SvelteStore<any>'. Property 'subscribe' is missing in type 'HTMLElement' but required in type 'SvelteStore<any>'. Overload 2 of 2, '(store: SvelteStore<any> | null | undefined): any', gave the following error. Argument of type 'HTMLElement' is not assignable to parameter of type 'SvelteStore<any>'.ts(2769)
The arrow is not showing in the preview.
Do You have any suggestions?