18 lines
No EOL
534 B
Text
18 lines
No EOL
534 B
Text
tests/cases/compiler/trailingSeparatorInFunctionCall.ts(4,7): error TS1009: Trailing comma not allowed.
|
|
tests/cases/compiler/trailingSeparatorInFunctionCall.ts(9,8): error TS1009: Trailing comma not allowed.
|
|
|
|
|
|
==== tests/cases/compiler/trailingSeparatorInFunctionCall.ts (2 errors) ====
|
|
function f(x, y) {
|
|
}
|
|
|
|
f(1, 2, );
|
|
~
|
|
!!! error TS1009: Trailing comma not allowed.
|
|
|
|
function f2<T>(x: T, y: T) {
|
|
}
|
|
|
|
f2(1, 2, );
|
|
~
|
|
!!! error TS1009: Trailing comma not allowed. |