When I saw this at first I assumed it must be using the new TS Go compiler, though I’m not even sure that’s available yet. But nope, it’s TS 5.9!
Is it possible that TS is so fast here because the generated code is fairly simplistic compared to a real world codebase?
I ran that thought by Claude:
The generated TypeScript modules use type aliases (
type T = string) with explicit return types, which requires almost no type inference or analysis from the compiler.