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