Typescript union type assertion July 8, 2019 16 32 64 128 Typescript type assertion Union type in typescript Typescript generic type