You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
union-types has transparent types for union values, e.g. you "know" that they have tag and value fields. While ts-union purposefully makes internal data structure opaque. Look at my comment here Ability to specify discriminator name #6 (comment) for more details.
matchWith function that allows to match a tuple of unions. Even though I'm still not happy with the final API (hence experimental), I still think that it is a killer feature, at least for my use cases. It comes in handy if you are modeling transitions in Elm(ish) architecture pattern.
I'm submitting a ...
[x] question about the decisions made in the repository
[x] question about how to use this project
Summary
Why should I use this library over the other one?
The text was updated successfully, but these errors were encountered: