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

type signature wrong? #173

Closed lifeiscontent closed 2 years ago

lifeiscontent commented 2 years ago

https://github.com/gcanti/io-ts-types/blob/7916c8a350c9e7029f3894a45c71b7efd95c344c/src/BigIntFromString.ts#L12-L46

in this code outlined above, if I create a decoder that uses BigIntFromString it says "10" string is not a valid type is the t.Type signature wrong or is there something I'm not understanding here?