TypeScript: type assertions (as) aren't wrapped #6443
Labels
lang:typescript
Issues affecting TypeScript-specific constructs (not general JS issues)
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 1.18.2
Playground link
Input:
Output:
Expected behavior:
See input.
Note that
as
, if wrapped, should stay at the end of the line. This is not valid TS:The text was updated successfully, but these errors were encountered: