mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
325 B
TypeScript
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) { }
|