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
We can let intellij add a missing import and that also works on svelte source files with lang="ts".
The only trouble is: svelte requires that all types and interfaces to be imported as type
importtype{SuiteSelectorEvents}from"./types";
while the current plugin adds it like that:
import{SuiteSelectorEvents}from"./types";
That is probably the default behavior of IDEA but it would be great if the plugin could add the import as import type here because otherwise we observe (pretty misleading) compile errors when we miss to fix it immediately.
The text was updated successfully, but these errors were encountered:
We can let intellij add a missing import and that also works on svelte source files with
lang="ts"
.The only trouble is: svelte requires that all types and interfaces to be imported as type
while the current plugin adds it like that:
That is probably the default behavior of IDEA but it would be great if the plugin could add the import as
import type
here because otherwise we observe (pretty misleading) compile errors when we miss to fix it immediately.The text was updated successfully, but these errors were encountered: