7 lines
219 B
TypeScript
7 lines
219 B
TypeScript
//// [emitRestParametersFunctionES6.ts]
|
|
function bar(...rest) { }
|
|
function foo(x: number, y: string, ...rest) { }
|
|
|
|
//// [emitRestParametersFunctionES6.js]
|
|
function bar(...rest) { }
|
|
function foo(x, y, ...rest) { }
|