Typescript Get Type From Array Of Strings In Arduino