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'
blog.emmanuelisenah.com5 min read