12 lines
306 B
Plaintext
12 lines
306 B
Plaintext
|
=== 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[]
|
||
|
|