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