Generate runtime validation from static types & JSON schema using:
- @runtyping/io-ts to generate io-ts
- @runtyping/runtypes to generate runtypes
- @runtyping/zod to generate zod
- Install Yarn
- Link your workspace
yarn
- If using VSCode, be sure to accept the workspace TypeScript version
- If using another editor, install the Yarn SDK for it (and commit with your PR)
Inspired by a gist by skurfuerst.