mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
refactor(transformer): remove dead code (#3588)
Remove a commented-out line of dead code.
This commit is contained in:
parent
fa116448c9
commit
3ae567de9d
1 changed files with 0 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue