Files
tsgo/testdata/baselines/reference/submodule/conformance/emitRestParametersFunctionES6.js

11 lines
325 B
TypeScript

//// [tests/cases/conformance/es6/restParameters/emitRestParametersFunctionES6.ts] ////
//// [emitRestParametersFunctionES6.ts]
function bar(...rest) { }
function foo(x: number, y: string, ...rest) { }
//// [emitRestParametersFunctionES6.js]
"use strict";
function bar(...rest) { }
function foo(x, y, ...rest) { }