String union type in typescript July 8, 2019 16 32 64 128 Check if string in union type typescript Union type in typescript Type in typescript