TypeScript/tests/baselines/reference/trailingSeparatorInFunctionCall.errors.txt
2014-07-12 17:30:19 -07:00

14 lines
292 B
Plaintext

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