Closed KoljaL closed 1 year ago
Sorry about that! Not sure what's going on. I haven't seen that error before. Which version of svelte-simple-modal
and svelte
have you installed?
This happened to me too when I tried to upgrade my Svelte 3 site to Svelte 4. The component type is changed hence the error. https://svelte.dev/docs/v4-migration-guide#sveltecomponenttyped-is-deprecated
Not a bug for Svelte 3 though.
Yes, I use #4 too.
FYI, I have a PR #101 for adding support for Svelte v4. I just need to figure out another type issue that seems to be new since v4
Fist: It works and it works great :-)
But i get an type-error on
Popup
in the last line:This is the full error message from VSCode:
How do I set the correct Types?