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

15 lines
529 B
TypeScript

//// [tests/cases/conformance/es6/restParameters/emitRestParametersFunctionExpressionES6.ts] ////
//// [emitRestParametersFunctionExpressionES6.ts]
var funcExp = (...rest) => { }
var funcExp1 = (X: number, ...rest) => { }
var funcExp2 = function (...rest) { }
var funcExp3 = (function (...rest) { })()
//// [emitRestParametersFunctionExpressionES6.js]
"use strict";
var funcExp = (...rest) => { };
var funcExp1 = (X, ...rest) => { };
var funcExp2 = function (...rest) { };
var funcExp3 = (function (...rest) { })();