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
import CopyToClipboard
Element does not support attributes because type definitions are missing for this Svelte Component or element cannot be used as such.
Underlying error:
JSX element class does not support attributes because it does not have a '$$prop_def' property.ts(2607)
'CopyToClipboard' cannot be used as a JSX component.
Its instance type 'CopyToClipboard' is not a valid JSX element.
Property '$$prop_def' is missing in type 'CopyToClipboard' but required in type 'ElementClass'.
it works perfectly with sveltekit (from early beta to the latest v2)
the message JSX element class does not support attributes because it does not have a '$$prop_def' property.ts(2607) 'CopyToClipboard' cannot be used as a JSX component. strongly hints toward a misconfiguration on the computer of the OP (sveltekit doesn't mess with JSX)
I get this error:
My package.json file:
The text was updated successfully, but these errors were encountered: