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

Polymorphic match #15

Open samhh opened 3 years ago

samhh commented 3 years ago

Failing example: https://github.com/unsplash/sum-types/commit/bd72c559732e7553feb311dfc446512c4617c4c4#diff-177d97aec07fd5b22f04049b34d74939b1d8364a7a83e8fb69ee3ee8695105fbR23