What are TypeScript Discriminated Unions and Why Should You Care?
We've all been in a situation where we want to access a set of properties inside an object based on the value of one property key. This is where discriminated unions shine. But before we dive in, let's refresh our understanding of unions and intersec...
blog.emmanuelisenah.com5 min read