11 lines
562 B
Text
11 lines
562 B
Text
=== tests/cases/conformance/es6/restParameters/emitRestParametersFunctionES6.ts ===
|
|
function bar(...rest) { }
|
|
>bar : Symbol(bar, Decl(emitRestParametersFunctionES6.ts, 0, 0))
|
|
>rest : Symbol(rest, Decl(emitRestParametersFunctionES6.ts, 0, 13))
|
|
|
|
function foo(x: number, y: string, ...rest) { }
|
|
>foo : Symbol(foo, Decl(emitRestParametersFunctionES6.ts, 0, 25))
|
|
>x : Symbol(x, Decl(emitRestParametersFunctionES6.ts, 1, 13))
|
|
>y : Symbol(y, Decl(emitRestParametersFunctionES6.ts, 1, 23))
|
|
>rest : Symbol(rest, Decl(emitRestParametersFunctionES6.ts, 1, 34))
|
|
|