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
It happens because the TS plugin uses the Svelte version that comes bundled with the extension, which is 3.x - so the parser thinks this is an invalid tag. We need to adjust the TS plugin to search for the user's Svelte version on a best-effort basis, similar to how we do it in the language server already.
Describe the bug
If you try to import a Svelte component with a snippet in a TS file, the type is not inferred correctly.
Reproduction
Expected behaviour
The import should have the correct type.
Screen_Recording_2024-02-21_at_3.43.46_AM.mov
System Info
Which package is the issue about?
No response
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: