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
I'm trying to pass my component in order to have a custom notification <Notifications item={CustomNotification}>
But Typescript isn't happy with it
Error message: Type 'typeof CustomNotification__SvelteComponent_' is missing the following properties from type 'SvelteComponentDev': $set, $on, $destroy, $$prop_def, and 5 more.ts(2740)
Is there a way to declare my component as SvelteComponentDev ?
The text was updated successfully, but these errors were encountered:
I'm trying to pass my component in order to have a custom notification
<Notifications item={CustomNotification}>
But Typescript isn't happy with it
Error message:
Type 'typeof CustomNotification__SvelteComponent_' is missing the following properties from type 'SvelteComponentDev': $set, $on, $destroy, $$prop_def, and 5 more.ts(2740)
Is there a way to declare my component as SvelteComponentDev ?
The text was updated successfully, but these errors were encountered: