Skip to content

Commit

Permalink
refactor(transformer): remove dead code (#3588)
Browse files Browse the repository at this point in the history
Remove a commented-out line of dead code.
  • Loading branch information
overlookmotel committed Jun 8, 2024
1 parent fa11644 commit 3ae567d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/oxc_transformer/src/typescript/annotations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3ae567d

Please sign in to comment.