fix(es/minifier): Don't panic on jsx or ts (#5984)

This commit is contained in:
Donny/강동윤 2022-09-29 09:05:13 +09:00 committed by GitHub
parent c499e2054d
commit 0067f719dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1284,7 +1284,7 @@ where
| Expr::TsNonNull(_)
| Expr::TsAs(_)
| Expr::TsInstantiation(_)
| Expr::TsSatisfaction(_) => unreachable!("jsx/ts is not supported"),
| Expr::TsSatisfaction(_) => false,
}
}