JSPM

Found 9 results for discriminated unions

pivots

## Readable [discriminated unions](https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions) for TypeScript

  • v0.2.1
  • 253.31
  • Published

unreachable

Utility function for exhaustiveness checking with typed JS (TS or Flow)

  • v0.2.0
  • 71.60
  • Published

headpats

Pattern matching and tagged unions without extra syntax.

  • v0.3.0
  • 70.21
  • Published

tagged-union

Tagged unions in vanilla JavaScript!

  • v1.1.0
  • 65.70
  • Published

varianter

Simple variants/tagged unions/discriminated unions in TypeScript

  • v0.1.3
  • 50.85
  • Published

ts-unreachable

Utility function for exhaustiveness checking with TypeScript.

  • v2.0.0
  • 38.14
  • Published

corrupt

Utility function for exhaustiveness checking with typed JS (TS or Flow)

  • v0.1.1
  • 36.89
  • Published

omnimatch

TypeScript tagged-union utility knife

  • v1.0.0-development.2
  • 10.34
  • Published