typecheck.macro
typecheck.macro copied to clipboard
A easy (and fast) typescript validation library/macro. Automatically generate validation functions for Typescript types.
typecheck.macro now supports arbitrary runtime constraints. However, it does not yet support decoders, which can deserialize values. It's complicated to implement this because, we can't arbitrarily mutate the input. For...
Rather than generating (for example) `!(a === undefined)`, we should generate `a !== undefined`. This could be done by having a variable in the `State` interface that says whether the...
Thanks for the new error messages functionality, it's a big improvement over just `false` 😁 However actually trying to use the returned values is a bit inconvenient (beyond just dumping...
@vedantroy I would love to try out the latest additions in my project already, what do you think about releasing them in a `next` version already? Or do you have...