News for hackers. Stuff that matters.
Re:Why doesn't TypeScript properly type Object.keys? by lytedev on Saturday June 24, 2023 @08:43AM (#36458226)
I recently discovered zod for this kind of thing. It can be a little obtuse when you first pick it up, but it's incredibly cool and let's you do this kind of thing!

There are no comments on this comment yet.