Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 8, 2024
1 parent 77335cc commit 6a0ae91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/swc_ecma_transforms_proposal/src/decorator_2023_11.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use swc_ecma_visit::{Fold, VisitMut};
use swc_ecma_ast::Pass;

use crate::{decorator_impl::decorator_impl, DecoratorVersion};

pub fn decorator_2023_11() -> impl VisitMut + Fold {
pub fn decorator_2023_11() -> impl Pass {
decorator_impl(DecoratorVersion::V202311)
}
3 changes: 1 addition & 2 deletions crates/swc_ecma_transforms_proposal/tests/decorator_evanw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ fn fixture(input: PathBuf) {
auto_accessors: true,
..Default::default()
}),
|_| decorator_2022_03(),
|_| as_folder(decorator_2023_11()),
|_| decorator_2023_11(),
&code,
);
}

0 comments on commit 6a0ae91

Please sign in to comment.