Simplifying Type Narrowing and Guards in TypeScript
Introduction to Narrowing Concept
Typescript documentation explains this topic really well. I am not going to copy and paste the same description here, rather I want to make it even simpler and shorter. Let’s look at a problem and see how the concept...
abeer.hashnode.dev9 min read