Writing exhaustive switch statements in TypeScript
Writing exhaustive switch statements in TypeScript
arendjr.nl
Writing exhaustive switch statements in TypeScript
Today I'm sharing a little trick that I like to use to make switch statements cleaner and more type-safe. Happy to hear other ideas!