refactor(transformer): remove dead code (#3588)

Remove a commented-out line of dead code.
This commit is contained in:
overlookmotel 2024-06-08 12:54:58 +00:00
parent fa116448c9
commit 3ae567de9d

View file

@ -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.