mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
346 B
TypeScript
18 lines
346 B
TypeScript
//// [tests/cases/conformance/es6/restParameters/emitRestParametersFunctionPropertyES6.ts] ////
|
|
|
|
//// [emitRestParametersFunctionPropertyES6.ts]
|
|
var obj: {
|
|
func1: (...rest) => void
|
|
}
|
|
|
|
var obj2 = {
|
|
func(...rest) { }
|
|
}
|
|
|
|
//// [emitRestParametersFunctionPropertyES6.js]
|
|
"use strict";
|
|
var obj;
|
|
var obj2 = {
|
|
func(...rest) { }
|
|
};
|