From 16fb140bf7db4098ccc59da6572ab859ccc794f2 Mon Sep 17 00:00:00 2001 From: magic-akari Date: Fri, 12 May 2023 19:58:02 +0800 Subject: [PATCH] fix: skip more ast --- crates/swc_ecma_transforms_typescript/src/strip_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/swc_ecma_transforms_typescript/src/strip_type.rs b/crates/swc_ecma_transforms_typescript/src/strip_type.rs index 67c8cd9ef74d4..6c3f50be5545a 100644 --- a/crates/swc_ecma_transforms_typescript/src/strip_type.rs +++ b/crates/swc_ecma_transforms_typescript/src/strip_type.rs @@ -171,7 +171,7 @@ impl VisitMut for StripType { } fn visit_mut_ts_import_equals_decl(&mut self, n: &mut TsImportEqualsDecl) { - n.id.visit_mut_with(self); + // n.id.visit_mut_with(self); } fn visit_mut_ts_param_prop(&mut self, n: &mut TsParamProp) {