Typescript check type extends array July 8, 2019 16 32 64 128 Typescript check if type extends array Typescript type extends Typescript generic type