Spread Array Of Objects In Typescript Version Command