ts-runtime-checks
ts-runtime-checks copied to clipboard
A typescript transformer that automatically generates validation code from your types.
What are the steps to make it work for Next.js project (pages router)?
[BUG]
Hello. I have confused with this situation. Lets have this generic function ``` import { Response, Request, NextFunction } from "express" export function endpoint( ...fns: (( req: Request, res: Response,...
**Describe the bug** I'm trying to create a type that can accept either a positive integer or a numeric string, but type validation is not generating the right code even...
**Describe the bug** Iām using Webpack to bundle a TypeScript project into a single JS file that can be executed with Node.js. When I import and use the `check` function...
Infer and check don't work correctly with generic parameters, create a union type instead of comparing separately **Playground link** [playground](https://googlefeud.github.io/ts-runtime-checks/?code=JYOwLgpgTgZghgYwgAgKoGdrIN4ChnIhwC2EAXMumFKAOYDc+ywAJhSAK7EBG0jAvrlCRYiFAFFicYABscTbgHsWATwpUaIBkzCL11OgNy4EikFWQtFAYQAWEBAGtkAXmQAeACoA+ABQs4MDgKDhBHEEUAdxAASgpPZAAfQg4ZORdveQJTczBkAG0oCHQAGmRoKEUodABdV2QEeyd3AEkQGGgvbz8AoJjGAmAYZF8KqvQAOhkILTBbZEyABhisggazdEVpqcVaUahK6v6mAiKwDigQFLSB5EFTiHPL5CL0AUYTDbywABFAuHqeAIRFIFAARCx0HAYOgWGCSkxWBQAKwI-gfHKbbYyXb+GxNRzuDDQPy-f4xY6YrYQHZ7Kx2ByEyTSGSkv59fpAA) 
we use babel and cannot use ts-loader patch etc... we have a plugin that take a ts containing the string, want to pass it to your package and then send...
We really love what you've done. We try to pimp a lot MeteorJS using full TS and use your package to runtime check all the part that come from the...
This project will re-written (again!) to support even more features and to make the code cleaner. Here are some features that I'll be trying out after the rewrite is complete:...
Does this library work with tsx? https://github.com/privatenumber/tsx Which is effectively the successor of `ts-node`
Examples seem to omit the imports, and imports like `import { is } from 'ts-runtime-checks';` don't work since items like `is` are not exported/provided by `ts-runtime-checks` after build time š¤...