11 lines
309 B
Text
11 lines
309 B
Text
=== tests/cases/conformance/es6/restParameters/emitRestParametersFunctionES6.ts ===
|
|
function bar(...rest) { }
|
|
>bar : (...rest: any[]) => void
|
|
>rest : any[]
|
|
|
|
function foo(x: number, y: string, ...rest) { }
|
|
>foo : (x: number, y: string, ...rest: any[]) => void
|
|
>x : number
|
|
>y : string
|
|
>rest : any[]
|
|
|