Typescript if type equals July 8, 2019 16 32 64 128 Typescript check if type equals Typescript check if string equals type Typescript generic type