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

Export serialized type #31

Closed samhh closed 2 years ago

samhh commented 2 years ago

This type has needed to be reconstructed in both bindings libraries, and now there's a use case for it in web. There's no reason not to expose it, it's a public interface via the serialization functions.

I'll release 0.1.1 once this is merged.