DEV Community

Discussion on: Matching your way to consistent states

Collapse
 
gillchristian profile image
Christian Gill

Thanks!

Yeah, I was quite surprised when I found out that it was as simple as making that Matcher object require all the elements of the unions as keys. TypeScript 🤘