Typescript: Type Narrowing
When compiling TypeScript code to JavaScript, the compiler will throw any errors related to variable types. This process of compilation involves giving the TypeScript compiler the information it needs to perform type checks. Therefore, when we give t...
codelady.hashnode.dev4 min read