related to #678
type-only export also needs type keyword. Current output from telescope mixes normal import/export and type-only import/export.
This is not compatible with verbatimModuleSyntax, which helps bundlers to drop type-only import/export while transpiling.
tsc (or tsc-based tools ex. tshy, zshy) would not have any problem with mixing import/export since tsc has type info while walking AST but the modern bundlers (esbuild, Oxc, ...) don't. They run tsc only as a type checker, then strip type for transpiling, leaving type-only import/export on run-time js source.
related to #678
type-only export also needs
typekeyword. Current output from telescope mixes normal import/export and type-only import/export.This is not compatible with
verbatimModuleSyntax, which helps bundlers to drop type-only import/export while transpiling.tsc (or tsc-based tools ex. tshy, zshy) would not have any problem with mixing import/export since tsc has type info while walking AST but the modern bundlers (esbuild, Oxc, ...) don't. They run tsc only as a type checker, then strip type for transpiling, leaving type-only import/export on run-time js source.