Algebraic sum types for TypeScript, designed after Rust's enums
-
Updated
Jun 14, 2019 - TypeScript
Algebraic sum types for TypeScript, designed after Rust's enums
Lightweight state machines in TypeScript
A library for defining and manipulating algebraic data types in TypeScript.
minimal utilities to work with union types and tagged unions (a.k.a. discriminated unions) in TypeScript
Small TS library to type and safely handle `serde` JSON serializations of Rust enums.
Add a description, image, and links to the tagged-unions topic page so that developers can more easily learn about it.
To associate your repository with the tagged-unions topic, visit your repo's landing page and select "manage topics."