Skip to content

Commit 3ae567d

Browse files
committed
refactor(transformer): remove dead code (#3588)
Remove a commented-out line of dead code.
1 parent fa11644 commit 3ae567d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/oxc_transformer/src/typescript/annotations.rs

-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ impl<'a> TypeScriptAnnotations<'a> {
9090
let mut module_count = 0;
9191
let mut removed_count = 0;
9292

93-
// let mut type_identifier_names = self.type_identifier_names.clone();
94-
9593
program.body.retain_mut(|stmt| {
9694
// fix namespace/export-type-only/input.ts
9795
// The namespace is type only. So if its name appear in the ExportNamedDeclaration, we should remove it.

0 commit comments

Comments
 (0)