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
The option to remove only type imports that was introduced with TS 3.8 would be nice, that would remove the need to remove unused imports, which might be needed (if we're combining esbuild with some other transformations like svelte compiler)
// only remove this
import type { Type } from 'foo';
// don't remove this
import { unusedImport } from 'foo';
The text was updated successfully, but these errors were encountered:
I just read up on this a bit. It looks like the matching config option from TypeScript is called importsNotUsedAsValues and was introduced by microsoft/TypeScript#35200. Whatever solution that ends up being used here should be mindful of that precedent.
The option to remove only type imports that was introduced with TS 3.8 would be nice, that would remove the need to remove unused imports, which might be needed (if we're combining esbuild with some other transformations like svelte compiler)
The text was updated successfully, but these errors were encountered: