14 lines
232 B
TypeScript
14 lines
232 B
TypeScript
//// [emitRestParametersFunctionPropertyES6.ts]
|
|
var obj: {
|
|
func1: (...rest) => void
|
|
}
|
|
|
|
var obj2 = {
|
|
func(...rest) { }
|
|
}
|
|
|
|
//// [emitRestParametersFunctionPropertyES6.js]
|
|
var obj;
|
|
var obj2 = {
|
|
func(...rest) { }
|
|
};
|