==== tests/cases/compiler/trailingSeparatorInFunctionCall.ts (2 errors) ==== function f(x, y) { } f(1, 2, ); ~ !!! Trailing comma not allowed. function f2(x: T, y: T) { } f2(1, 2, ); ~ !!! Trailing comma not allowed.