News for hackers. Stuff that matters.
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by meandmycode on Tuesday January 31, 2023 @08:25AM (#34594726)
This is pretty doable with mapped types in TS, to make it work without a compilation step though is pending on https://github.com/microsoft/TypeScript/issues/32063

Although in practice the mapped types to do this do slow down the typing service non trivially.

There are no comments on this comment yet.