transformer: improve the implementation of eliminating type-only exports #3827
Labels
A-transformer
Area - Transformer / Transpiler
C-performance
Category - Solution not expected to change functional behavior, only performance
#3820 was added
IdentifierReference
toExportSpecifier
. This means we no longer need to collect type-only import binding names.oxc/crates/oxc_transformer/src/typescript/annotations.rs
Lines 143 to 146 in 4456034
We just need to check if the import binding has a type reference.
But, unfortunately, we're currently stuck due to issue #3826. Once it's fixed, I'll be able to start working on this.
The text was updated successfully, but these errors were encountered: