== should not keep trailing comma in expression type parameters in non-jsx file since there is no parsing ambiguity == const Test1 = () => false; const Test2 = function() {}; [expect] const Test1 = () => false; const Test2 = function() {}; == should keep trailing comma in expression type parameters in file parsed as jsx since there is no parsing ambiguity == const Test1 = () => false; const Test2 = function() {}; const Test3 =
; // not for declarations though function test() { } // or export default export default function test() { } export default function() { } // generic constraints are not ambiguous either const Test4 =

,>() => {}; const Test5 =

>() => {}; [expect] const Test1 = () => false; const Test2 = function() {}; const Test3 =

; // not for declarations though function test() { } // or export default export default function test() { } export default function() { } // generic constraints are not ambiguous either const Test4 =

>() => {}; const Test5 =

>() => {};