unreachable
Utility function for exhaustiveness checking with typed JS (TS or Flow)
Utility function for exhaustiveness checking with typed JS (TS or Flow)
## Readable [discriminated unions](https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions) for TypeScript
Utility function for exhaustiveness checking with TypeScript.
Tagged unions in vanilla JavaScript!
Utility function for exhaustiveness checking with typed JS (TS or Flow)
TypeScript tagged-union utility knife
Simple variants/tagged unions/discriminated unions in TypeScript
Pattern matching and tagged unions without extra syntax.
pattern match function for any discriminated union type