Prettier 2.7.1
Playground link
--parser flow
--arrow-parens avoid
--trailing-comma all
Input:
const xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: xxxxxxxxxxxxxxxxxxxxxx<> =
arg => null;
Output:
const xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: xxxxxxxxxxxxxxxxxxxxxx<
,
> = arg => null;
Expected behavior:
Not-broken code. I'd suggest probably:
const xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: xxxxxxxxxxxxxxxxxxxxxx<> =
arg => null;