typecheck.macro icon indicating copy to clipboard operation
typecheck.macro copied to clipboard

A easy (and fast) typescript validation library/macro. Automatically generate validation functions for Typescript types.

Results 24 typecheck.macro issues
Sort by recently updated
recently updated
newest added

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...

help wanted

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...