Unions and Narrowing in TypeScript

Intro That is my first memorable article to publish on the DEV neighborhood. Presently, I’m relearning TypeScript utilizing the ebook “Studying TypeScript” by Josh Goldberg to realize a transparent understanding of its core rules. Throughout my TypeScript studying journey, I discovered myself confused and mixing up two necessary ideas – “Unions and Narrowing”. Because of […]