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