TypeScript/tests/baselines/reference/emitRestParametersFunctionProperty.js

15 lines
230 B
JavaScript
Raw Normal View History

//// [emitRestParametersFunctionProperty.ts]
var obj: {
func1: (...rest) => void
}
var obj2 = {
func(...rest) { }
}
//// [emitRestParametersFunctionProperty.js]
var obj;
var obj2 = {
func: function () { }
};