We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa11644 commit 3ae567dCopy full SHA for 3ae567d
crates/oxc_transformer/src/typescript/annotations.rs
@@ -90,8 +90,6 @@ impl<'a> TypeScriptAnnotations<'a> {
90
let mut module_count = 0;
91
let mut removed_count = 0;
92
93
- // let mut type_identifier_names = self.type_identifier_names.clone();
94
-
95
program.body.retain_mut(|stmt| {
96
// fix namespace/export-type-only/input.ts
97
// The namespace is type only. So if its name appear in the ExportNamedDeclaration, we should remove it.
0 commit comments