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
When using the SvelteTable component, the Svelte VSCode extension show me the following error:
Argument of type 'typeof import("./node_modules/svelte-table/src/types")' is not assignable to parameter of type 'ConstructorOfATypedSvelteComponent'.
Type 'typeof import("./node_modules/svelte-table/src/types")' provides no match for the signature 'new (args: { target: any; props?: any; }): ATypedSvelteComponent'.
Possible causes:
- You use the instance type of a component where you should use the constructor type
- Type definitions are missing for this Svelte Component. If you are using Svelte 3.31+, use SvelteComponentTyped to add a definition:
import type { SvelteComponentTyped } from "svelte";
class ComponentName extends SvelteComponentTyped<{propertyName: string;}> {}ts(2345)
As Svelte itself doesn't complain about this, it could be something with the extension, but I'm guessing this is not the case because this doesn't happen with any other component in my app.
The text was updated successfully, but these errors were encountered:
When using the SvelteTable component, the Svelte VSCode extension show me the following error:
As Svelte itself doesn't complain about this, it could be something with the extension, but I'm guessing this is not the case because this doesn't happen with any other component in my app.
The text was updated successfully, but these errors were encountered: