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
Type 'typeof Button__SvelteComponent_' is not assignable to type 'ComponentType<{ primary?: boolean | undefined; backgroundColor?: string | undefined; size?: "small" | "medium" | "large" | undefined; label?: string | undefined; }, any>'.
Types of parameters 'options' and 'options' are incompatible.
Type 'ComponentConstructorOptions<{ primary?: boolean | undefined; backgroundColor?: string | undefined; size?: "small" | "medium" | "large" | undefined; label?: string | undefined; }>' is not assignable to type 'Svelte2TsxComponentConstructorParameters<{ primary?: boolean | undefined; backgroundColor?: string | undefined; size?: "small" | "medium" | "large" | undefined; label?: string | undefined; }>'.
Types of property 'target' are incompatible.
Type 'Element | ShadowRoot | Document' is not assignable to type 'Element | ShadowRoot'.
Type 'Document' is not assignable to type 'Element | ShadowRoot'.
Type 'Document' is missing the following properties from type 'ShadowRoot': delegatesFocus, host, mode, slotAssignment, innerHTML
The problem occurs because svelte changed the component type in v3.58.0: sveltejs/svelte@d49b568
But the autogenerated types from svelte files are not (yet) matching that.
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Newly created svelte projects have type errors:
The problem occurs because svelte changed the component type in v3.58.0:
sveltejs/svelte@d49b568
But the autogenerated types from svelte files are not (yet) matching that.
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: