hypertown@lemmy.worldcake to Programmer Humor@lemmy.ml · 2 years agoAverage TS developerlemmy.worldimagemessage-square139fedilinkarrow-up1858arrow-down150
arrow-up1808arrow-down1imageAverage TS developerlemmy.worldhypertown@lemmy.worldcake to Programmer Humor@lemmy.ml · 2 years agomessage-square139fedilink
minus-squarejpeps@lemmy.worldlinkfedilinkarrow-up1·1 year 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