News for hackers. Stuff that matters.
Re:Announcing TypeScript 3.9 by mixedCase on Wednesday May 13, 2020 @05:34PM (#23172090)
io-ts does this. Although it's the other way around: you write the type guard (API is similar to writing a type) and it gives you the type for free.

There are no comments on this comment yet.