as
in mapped types + intersection + conditional type = ugliness
#10667
Labels
area:intersection types
lang:typescript
Issues affecting TypeScript-specific constructs (not general JS issues)
type:bug
Issues identifying ugly output, or a defect in the program
That's quite a combo:
Prettier 2.2.1
Playground link
Input:
Output:
Originally posted by @pleerock in #10642 (comment)
The text was updated successfully, but these errors were encountered: