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 the svelte-preprocess-delegate-events and it has a section detailing how to integrate the preprocessor with svelte-check. I was wondering if there was a way to do the same with the svelte language server so that the error below stops showing up? The error only shows up in the language server.
Argument of type '{ class: string; type: "reset" | "submit" | "button" | null | undefined; "on:*": undefined; }' is not assignable to parameter of type 'HTMLProps<"button", HTMLAttributes<any>>'.
Object literal may only specify known properties, and '"on:*"' does not exist in type 'HTMLProps<"button", HTMLAttributes<any>>'. [2345]
I don't know if this is the correct place to ask this, but the svelte/lang-tools repo doesn't have a place for discussion.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using the svelte-preprocess-delegate-events and it has a section detailing how to integrate the preprocessor with svelte-check. I was wondering if there was a way to do the same with the svelte language server so that the error below stops showing up? The error only shows up in the language server.
I don't know if this is the correct place to ask this, but the svelte/lang-tools repo doesn't have a place for discussion.
Beta Was this translation helpful? Give feedback.
All reactions