Typescript generic type switch July 8, 2019 16 32 64 128 Typescript switch case generic type Typescript generic type