Re:Automatically generating types for Cloudflare Workers
by eyelidlessness on Tuesday November 16, 2021 @11:46PM
(#29249373)
Generated types are fine (if a bit cumbersome) when you trust input. When you don’t, “parse [don’t validate]” and produce static types at the place where input becomes a known quantity.
[ Parent
| on HN ]
There are no comments on this comment yet.