[flow] broken code emitted for type annotation with empty type parameters when the value is an arrow function and arrow-parens: 'avoid'
#13817
Labels
lang:flow
Issues affecting Flow-specific constructs (not general JS issues)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.7.1
Playground link
Input:
Output:
Expected behavior:
Not-broken code. I'd suggest probably:
The text was updated successfully, but these errors were encountered: