swc/crates/swc_ecma_parser/tests/tsc/emitRestParametersFunctionPropertyES6.ts

8 lines
98 B
TypeScript

// @target: es6
var obj: {
func1: (...rest) => void
}
var obj2 = {
func(...rest) { }
}