diff --git a/crates/swc_ecma_minifier/src/compress/optimize/sequences.rs b/crates/swc_ecma_minifier/src/compress/optimize/sequences.rs index d5b8ed13f36..7a3fa8b58e4 100644 --- a/crates/swc_ecma_minifier/src/compress/optimize/sequences.rs +++ b/crates/swc_ecma_minifier/src/compress/optimize/sequences.rs @@ -1284,7 +1284,7 @@ where | Expr::TsNonNull(_) | Expr::TsAs(_) | Expr::TsInstantiation(_) - | Expr::TsSatisfaction(_) => unreachable!("jsx/ts is not supported"), + | Expr::TsSatisfaction(_) => false, } }