unsplash / sum-types

Safe, ergonomic, non-generic sum types in TypeScript.
https://unsplash.github.io/sum-types/
MIT License
42 stars 2 forks source link

`undefined` -> `null` #37

Closed samhh closed 2 years ago

samhh commented 2 years ago

Changes the internal type of nullary members to null for cheap JSON interop (post-serialisation).