For people who have not used TypeScript:
I've never had issues with the TypeScript compiler being slow, and I write my types with as much complexity as the underlying data/situation demands.
I have several projects that consume dozens of REST APIs, and I have types for all of their requests and responses, and my compilation time is still fine.