News for hackers. Stuff that matters.
Re:TypeScript please give us types by dclowd9901 on Friday July 07, 2023 @07:33PM (#36639677)
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.

There are no comments on this comment yet.