When auto-importing TypeScript types, the plugin inserts a normal import { Type1, Type2 } from "somewhere" import, even though compilerOptions.importNotUsedAsValues is set to "error" in .svelte-kit/tsconfig.json.
The proper import would be import type { Type1, Type2 } from "somewhere".
When auto-importing TypeScript types, the plugin inserts a normal
import { Type1, Type2 } from "somewhere"
import, even thoughcompilerOptions.importNotUsedAsValues
is set to"error"
in.svelte-kit/tsconfig.json
.The proper import would be
import type { Type1, Type2 } from "somewhere"
.