Typescript Get Type From Array Of Pointers To String