Flow comments in function arguments moved to body #5403
Labels
area:comments
Issues with how Prettier prints comments
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.
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:bug
Issues identifying ugly output, or a defect in the program
Milestone
Prettier 1.15.1
Playground link
Input:
Output:
Expected behavior:
Input is unchanged, more specifically the flow type comment should not move into the body of the function
The text was updated successfully, but these errors were encountered: