hypertown@lemmy.world to Programmer Humor · 1 year agoAverage TS developerlemmy.worldimagemessage-square141fedilinkarrow-up1858arrow-down149
arrow-up1809arrow-down1imageAverage TS developerlemmy.worldhypertown@lemmy.world to Programmer Humor · 1 year agomessage-square141fedilink
minus-squarejpeps@lemmy.worldlinkfedilinkarrow-up1·9 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