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
Is not too hard to reproduce in any project. Using either script tag generics or the $$Generic helper will trigger this issue.
Confirmed on local and in a codespace linux machine.
Logs
The signature '(options: ComponentConstructorOptions<{ value: string; }>): Component__SvelteComponent_<string>' of '$$_tnenopmoC0C' is deprecated.js(6387)
Either we un-deprecate the constructor, which could give the false premise of this working, or we adjust language tools to use the new constructor if version 5 is detected. I lean towards the latter.
Describe the bug
Typescript marks components with generics as deprecated.
Reproduction
https://github.com/mr-josh/svelte-5-generics-issue
Is not too hard to reproduce in any project. Using either script tag generics or the
$$Generic
helper will trigger this issue.Confirmed on local and in a codespace linux machine.
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: