Typescript Create Dynamic Array Of Pointers