hypertown@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoAverage TS developerlemmy.worldimagemessage-square104linkfedilinkarrow-up1791
arrow-up1747imageAverage TS developerlemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square104linkfedilink
minus-squarejpeps@lemmy.worldlinkfedilinkarrow-up1·2 years 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