Typescript Array Of Objects With Square