2 ms·
Hard to argue with that! I wonder why this isn't considered a solution to the author of this site.
by wvenable 3y ago
Hard to argue with that! I wonder why this isn't considered a solution to the author of this site.
- lolinder 3y agoThe author explicitly calls out the existence of all of these tools as being the problem. They seem to want a canonical version that TypeScript itself officially supports.
- RyanCavanaugh 3y agoSituation: There are 14 competing type representation formats TypeScript: We can write our own type file format! Situation: There are 15 competing type representation formats
- Dylan16807 3y agoIf typescript itself defines a format, it's hard to imagine that the majority of people won't switch to it. Though while there's a lot of type-data tools, are there actually a lot of type-data formats out there right now? I've been using zod, and it doesn't have one. You have to use code to tell it about a type. Someone did make a library to let zod load types from pure data, but the format used there is... typescript source code.