14 lines
No EOL
292 B
Text
14 lines
No EOL
292 B
Text
==== 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. |