swc_ecma_compat_es2019/
lib.rs

1
2
3
4
5
6
7
8
9
use swc_ecma_ast::Pass;

pub use self::optional_catch_binding::optional_catch_binding;

mod optional_catch_binding;

pub fn es2019() -> impl Pass {
    optional_catch_binding()
}