Closed mlegenhausen closed 4 years ago
Without this change it not possible to use any type where the A is unequal to the O of Type<A, O>. I had the problem when using Int from io-ts as codec.
A
O
Type<A, O>
Int
io-ts
I added a test to prevent regression.
Thanks @mlegenhausen, released.
Without this change it not possible to use any type where the
A
is unequal to theO
ofType<A, O>
. I had the problem when usingInt
fromio-ts
as codec.I added a test to prevent regression.