2015-01-05 22:33:44 +01:00
|
|
|
//// [emitRestParametersFunctionES6.ts]
|
|
|
|
function bar(...rest) { }
|
|
|
|
function foo(x: number, y: string, ...rest) { }
|
|
|
|
|
|
|
|
//// [emitRestParametersFunctionES6.js]
|
2015-02-07 03:45:09 +01:00
|
|
|
function bar(...rest) { }
|
|
|
|
function foo(x, y, ...rest) { }
|