diff --git a/crates/oxc_transformer/src/typescript/annotations.rs b/crates/oxc_transformer/src/typescript/annotations.rs index 3c9c9cc3b92a9..e98b7bc93caed 100644 --- a/crates/oxc_transformer/src/typescript/annotations.rs +++ b/crates/oxc_transformer/src/typescript/annotations.rs @@ -90,8 +90,6 @@ impl<'a> TypeScriptAnnotations<'a> { let mut module_count = 0; let mut removed_count = 0; - // let mut type_identifier_names = self.type_identifier_names.clone(); - program.body.retain_mut(|stmt| { // fix namespace/export-type-only/input.ts // The namespace is type only. So if its name appear in the ExportNamedDeclaration, we should remove it.