5 ms·
You might find io-ts useful [1]. “io-ts introduces the concept of a runtime type (an instance of the Type class) which represents a runtime validator for a typ
by 100ideas 7y ago
You might find io-ts useful [1].
“io-ts introduces the concept of a runtime type (an instance of the Type class) which represents a runtime validator for a typescript (static) type. [2]”
See:
[1] https://gcanti.github.io/io-ts/ https://gcanti.github.io/io-ts/
[2] https://lorefnon.tech/u2018/03/25/typescript-and-validations-at-runtime-boundaries/ https://lorefnon.tech/u2018/03/25/typescript-and-validations...