News for hackers. Stuff that matters.
Re:TypeScript please give us types by ncallaway on Saturday July 08, 2023 @06:15PM (#36649327)
Interesting! I'll probably start doing that. I hadn't connected the satisfies keyword to this problem, but it seems like a good solution.

My complaint about writing the schemas twice isn't the busywork (which is, like, annoying, but whatever I'll live). But the concern about small discrepancies between the two causing problems later.

I'll definitely use this going forward.

There are no comments on this comment yet.