3 ms·
Pretty easy to add runtime validation at the edges with Zod https://github.com/colinhacks/zod https://github.com/colinhacks/zod Great thing is that the zod sch
by terandle 2y ago
Pretty easy to add runtime validation at the edges with Zod https://github.com/colinhacks/zod https://github.com/colinhacks/zod
Great thing is that the zod schema also doubles as your typescript type so you don't have to write a duplicate/shadow TS type definition.
- terminalbraid 2y agoThat doesn't make Typescript as a language "strongly typed".
- deleted 2y ago[deleted]