Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, agreed, this ain’t it.

I do think theres room in the world for typescript to be able to emit runtime code from its types, but I don’t think it should be in the business of writing validation libraries.

Closest they should get to this work is writing an interface to export types types into runtime code that another lib can pick up and write validators with.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: