You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an arrow function is the first argument to a function, there is a line break added after the arrow. However, when it's the second argument, the arguments are first placed on different lines. I would expect it to still break after the arrow in these cases. It does break after the arrow when the arrow function has braces.
Describe the bug
dprint-plugin-typescript version: 0.90.0
When an arrow function is the first argument to a function, there is a line break added after the arrow. However, when it's the second argument, the arguments are first placed on different lines. I would expect it to still break after the arrow in these cases. It does break after the arrow when the arrow function has braces.
Input Code
Expected Output
(Prettier also breaks like the expected output)
Actual Output
dprint playground
prettier playground
The text was updated successfully, but these errors were encountered: