Hacker News new | ask | show | jobs
by gcanti 3358 days ago
You could write the runtime definition and extract the static types from that https://github.com/gcanti/io-ts
1 comments

thanks for the link - i've never seen that before :)