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 am using Svelte-kit with Typescript and tried the custom notification component from the README with the only difference that I have the component in the layout file. I am using version 0.9.93 of svelte-notifications.
The code seems to work, I can trigger the custom notification component but I get an error in vscode.
Red error text under CustomNotification <Notifications item={CustomNotification}>
If I hover over CustomNotification it logs the following to the vscode output: Request textDocument/hover failed. Message: Request textDocument/hover failed with message: EISDIR: illegal operation on a directory, read Code: -32603
The hover text says: Type 'typeof CustomNotification__SvelteComponent_' is missing the following properties from type 'SvelteComponentDev': $set, $on, $destroy, $$prop_def, and 5 more.
The text was updated successfully, but these errors were encountered:
No, I never found a solution. I just ignore the warning for now and the code does work. I will re-open the issue and hopefully someone knows or can fix.
I am using Svelte-kit with Typescript and tried the custom notification component from the README with the only difference that I have the component in the layout file. I am using version 0.9.93 of svelte-notifications.
The code seems to work, I can trigger the custom notification component but I get an error in vscode.
Red error text under CustomNotification
<Notifications item={CustomNotification}>
If I hover over CustomNotification it logs the following to the vscode output:
Request textDocument/hover failed. Message: Request textDocument/hover failed with message: EISDIR: illegal operation on a directory, read Code: -32603
The hover text says:
Type 'typeof CustomNotification__SvelteComponent_' is missing the following properties from type 'SvelteComponentDev': $set, $on, $destroy, $$prop_def, and 5 more.
The text was updated successfully, but these errors were encountered: