Typescript union type check if July 8, 2019 16 32 64 128 Typescript union type check if property exists Typescript check if union type has property Typescript check if string in union type Typescript check if one of union type Union type in typescript Typescript type checking Typescript generic type