TypeScript 7 Beta et tsgo: un compilateur plus rapide demande un vrai plan
Le gain de vitesse peut reduire la friction quotidienne, mais le risque se trouve dans les integrations: JSDoc, declaration emit, watch mode, LSP et API TypeScript.
What happened
Microsoft announced TypeScript 7.0 Beta on April 21, 2026. The beta is available as @typescript/native-preview@beta and runs through tsgo, so teams can compare it with TypeScript 6 tsc before changing their default toolchain.
Why it matters
TypeScript 7.0 Beta introduit un compilateur natif en Go. Les equipes doivent valider tsgo en parallele de tsc dans CI, l editeur et les outils. This is especially relevant for large TypeScript codebases, monorepos, and teams where type-checking latency affects pull-request flow and editor responsiveness.
Checklist
Mesurer tsc, ajouter tsgo comme job non bloquant, comparer les diagnostics, tester VS Code Native Preview sur un perimetre limite et garder les outils API sur TypeScript 6.
Risks
The official repository still marks the programmatic API as not ready, watch mode as prototype, and LSP work as in progress. Teams with legacy JavaScript, CommonJS, Closure-style JSDoc, or compiler-API tooling should validate those areas separately.