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

Improve Member default type arguments #9

Closed samhh closed 3 years ago

samhh commented 3 years ago

I think the first default could be changed to never, thereby effectively forcing its presence without compromising the second. Worth checking.