Files
tsgo/testdata/baselines/reference/submodule/conformance/emitRestParametersFunctionProperty(target=es2015).js

18 lines
337 B
TypeScript

//// [tests/cases/conformance/es6/restParameters/emitRestParametersFunctionProperty.ts] ////
//// [emitRestParametersFunctionProperty.ts]
var obj: {
func1: (...rest) => void
}
var obj2 = {
func(...rest) { }
}
//// [emitRestParametersFunctionProperty.js]
"use strict";
var obj;
var obj2 = {
func(...rest) { }
};