12 lines
666 B
Plaintext
12 lines
666 B
Plaintext
=== tests/cases/conformance/es6/restParameters/emitRestParametersFunctionES6.ts ===
|
|
function bar(...rest) { }
|
|
>bar : (...rest: any[]) => void, Symbol(bar, Decl(emitRestParametersFunctionES6.ts, 0, 0))
|
|
>rest : any[], Symbol(rest, Decl(emitRestParametersFunctionES6.ts, 0, 13))
|
|
|
|
function foo(x: number, y: string, ...rest) { }
|
|
>foo : (x: number, y: string, ...rest: any[]) => void, Symbol(foo, Decl(emitRestParametersFunctionES6.ts, 0, 25))
|
|
>x : number, Symbol(x, Decl(emitRestParametersFunctionES6.ts, 1, 13))
|
|
>y : string, Symbol(y, Decl(emitRestParametersFunctionES6.ts, 1, 23))
|
|
>rest : any[], Symbol(rest, Decl(emitRestParametersFunctionES6.ts, 1, 34))
|
|
|