4 ms·
Why is it surprising? I use typescript a lot, but I would have never even thought to have this insight so I am missing some language design decisions
by lovich 1y ago
Why is it surprising? I use typescript a lot, but I would have never even thought to have this insight so I am missing some language design decisions
- fnordpiglet 1y agoBecause type script is a language not a language agnostic specification for languages. As someone who uses typescript a lot that probably is irrelevant. But if I’m using Rust, say, then the typescript means I need to reimplement the spec from scratch. With OpenApi, say, I can code generate canonically correct stubs and implement from there.
- pattobrien 1y agoThere's an OpenAPI spec generated from the Typescript schemas in the official spec repo, so codegen of other SDKs is still possible.