hypertown@lemmy.world to Programmer Humor@lemmy.ml · 11 months agoAverage TS developerlemmy.worldimagemessage-square105fedilinkarrow-up1788
arrow-up1744imageAverage TS developerlemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 11 months agomessage-square105fedilink
minus-squarejpeps@lemmy.worldlinkfedilinkarrow-up1·7 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