Typescript Type From Array Of Strings