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
...by adding a generated semicolon at the end. That prevents TypeScript from going up until the next semicolon it finds, which may be from another generated code, messing up the generated->original end position
#2608#2607
...by adding a generated semicolon at the end. That prevents TypeScript from going up until the next semicolon it finds, which may be from another generated code, messing up the generated->original end position
#2608#2607
Describe the bug
In certain situations, running VSCode's organize imports action will result in broken code.
E.g. Running organize imports on the following file produces broken code
results in
This does not happen if
$props
is typed using a type/interface:Nor does it happen if there are no imports.
Reproduction
Expected behaviour
Unused imports are removed and the code is unmodified otherwise.
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: