TypeScript: Typeguards and Type Narrowing. Hi, In this post we will be exploring a feature of TypeScript called type guards. To be more precise we will be exploring the typeguard using the in operator. Note: The in operator is javascript feature not TypeScript. Consider the following scenario: I am writing a todo application. In my…

Read More