11 lines
306 B
Text
11 lines
306 B
Text
=== tests/cases/conformance/es6/restParameters/emitRestParametersFunction.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[]
|
|
|