Typescript Reduce Array Of Pointers In Struct