Re:TypeScript 4.1
by bradstewart on Friday November 20, 2020 @10:28AM
(#25161335)
We generate JSON Schema from our TypeScript interfaces, then use that to validate data at relevant points in the application. Best of both worlds, assuming the type definitions are relatively straightforward.
[ Parent
| on HN ]
What do you use for that? I looked into it, and none of the alternatives sat well with me. They all felt like impositions on the build process that would make debugging harder.
Re:TypeScript 4.1
by bradstewart on Friday November 20, 2020 @11:03PM
(#25167791)