Type narrowing function typescript July 8, 2019 16 32 64 128 Typescript function type narrowing Type narrowing Javascript function type Typescript type annotation