News for hackers. Stuff that matters.
Re:Show HN: A SQL database implemented purely in TypeScript ... by IggleSniggle on Monday September 28, 2020 @12:33PM (#24618431)
That pull request from 4 years ago with regards to Object.keys is worth reading if you already or are considering writing a “type wrapper” for Object.keys, especially now that better tuple types have landed and string template types are coming.

Runtime types can still get you there. I’ve been happy with myzod for this purpose, which feels like writing TypeScript while getting you everything you need to validate at runtime in a very performant package.

There are no comments on this comment yet.