Typescript Turn Array Into Mapping Ppg