lorefnon@programming.dev to TypeScript@programming.devEnglish · 10 months agotypiatypia.ioexternal-linkmessage-square5fedilinkarrow-up18file-text
arrow-up18external-linktypiatypia.iolorefnon@programming.dev to TypeScript@programming.devEnglish · 10 months agomessage-square5fedilinkfile-text
Typia is a transformer library supporting: Super-fast Runtime Validators Enhanced JSON functions Protocol Buffer encoder and decoder Random data generator
minus-squarenot_woody_shaw@lemmy.worldlinkfedilinkEnglisharrow-up1·10 months agoOh, you just add it as a separate task in package.json? That seems nicer than converting all your type defs manually to io.ts format or similar.
minus-squarelorefnon@programming.devOPlinkfedilinkarrow-up1·10 months agoYes, that mode works pretty well. In my case I don’t really own the types (they come from a third party source) so being able to to auto generate validators from them is very convenient.
Oh, you just add it as a separate task in package.json? That seems nicer than converting all your type defs manually to io.ts format or similar.
Yes, that mode works pretty well. In my case I don’t really own the types (they come from a third party source) so being able to to auto generate validators from them is very convenient.