News for hackers. Stuff that matters.
Re:Aleph.js – Fullstack Framework in Deno by eyelidlessness on Monday June 13, 2022 @11:54AM (#31727275)
You probably don’t want that throughout your entire codebase. It’s a lot of overhead. Where you do want it (at API/user input/network etc boundaries), you can use something like Zod[1] or similar to define your type guards and then infer the static types from there.

1: https://github.com/colinhacks/zod

There are no comments on this comment yet.