hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoAverage TS developerlemmy.worldimagemessage-square130fedilinkarrow-up1777arrow-down142
arrow-up1735arrow-down1imageAverage TS developerlemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square130fedilink
minus-squarejpeps@lemmy.worldlinkfedilinkarrow-up1·10 months agoTypically when creating API interfaces you’d be better off marking the inputs as unknown, and then using something like Zod to validate the types
Typically when creating API interfaces you’d be better off marking the inputs as unknown, and then using something like Zod to validate the types