4 lines
171 B
Text
4 lines
171 B
Text
|
==== tests/cases/compiler/restParameterNotLast.ts (1 errors) ====
|
||
|
function f(...x, y) { }
|
||
|
~
|
||
|
!!! A rest parameter must be last in a parameter list.
|