-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
A-transformerArea - Transformer / TranspilerArea - Transformer / TranspilerC-performanceCategory - Solution not expected to change functional behavior, only performanceCategory - Solution not expected to change functional behavior, only performance
Description
#3820 was added IdentifierReference to ExportSpecifier. 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
| if is_type || s.import_kind.is_type() { | |
| self.type_identifier_names.insert(s.local.name.clone()); | |
| return false; | |
| } |
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-transformerArea - Transformer / TranspilerArea - Transformer / TranspilerC-performanceCategory - Solution not expected to change functional behavior, only performanceCategory - Solution not expected to change functional behavior, only performance
Type
Fields
Give feedbackPriority
None yet