#### Print semicolon before type assertion in `no-semi` mode (#18738 by @fisker)

<!-- prettier-ignore -->
```tsx
// Input
a;
<b>c;

// Prettier stable (--no-semi, first format)
a
<b>c

// Prettier stable (--no-semi, second format)
a < b > c

// Prettier main (--no-semi)
a
;<b>c
```
