mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
fix(es/minifier): Don't panic on jsx or ts (#5984)
This commit is contained in:
parent
c499e2054d
commit
0067f719dd
@ -1284,7 +1284,7 @@ where
|
||||
| Expr::TsNonNull(_)
|
||||
| Expr::TsAs(_)
|
||||
| Expr::TsInstantiation(_)
|
||||
| Expr::TsSatisfaction(_) => unreachable!("jsx/ts is not supported"),
|
||||
| Expr::TsSatisfaction(_) => false,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user