Runtime type checking in TypeScript with io-ts
and fp-ts
.
I also published an article how-to-get-runtime-type-checking-in-typescript. You can check it for more details
- Watch and compile TypeScript on the fly
yarn watch
- Watch and run dist/index.js
yarn start