gcanti / io-ts-types

A collection of codecs and combinators for use with io-ts
https://gcanti.github.io/io-ts-types/
MIT License
311 stars 40 forks source link

add "excess" #114

Closed giogonzo closed 5 years ago

giogonzo commented 5 years ago

A porting of https://github.com/gcanti/io-ts/issues/322#issuecomment-513170377

(I never wanted this myself, but the question/need comes up really often on the io-ts repo...)

Notes

giogonzo commented 5 years ago

Please refer to the discussion in https://github.com/gcanti/io-ts/issues/322#issuecomment-550245381