Skip to content

Commit acb3952

Browse files
authored
fix(es/decorators): Fix TypeScript syntax assertion (#9336)
**Related issue:** - Closes #9335
1 parent d05f6cf commit acb3952

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/lovely-ducks-visit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
swc_ecma_utils: patch
3+
---
4+
5+
fix(es/decorators): Fix TypeScript syntax assertion

crates/swc_ecma_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ pub struct IdentReplacer<'a> {
26782678
}
26792679

26802680
impl VisitMut for IdentReplacer<'_> {
2681-
noop_visit_mut_type!(fail);
2681+
noop_visit_mut_type!();
26822682

26832683
visit_mut_obj_and_computed!();
26842684

0 commit comments

Comments
 (0)