Re:Show HN: Ezno, a type checker for JavaScript and optimise...
by mhermher on Friday September 23, 2022 @04:39PM
(#32956790)
yeah. You have to assert an object (`Record<string, unknown>`) type first within your asserter (or array or whatever). We ended up having whole stacks of re-usable assertion functions to be used at these boundaries (re-usable on server side too if you're using node!)
[ Parent
| on HN ]
There are no comments on this comment yet.