TypeScript 7.1 Beta: Restores the Compiler API and Makes Vue and Svelte First-Class
TypeScript 7.1 Beta, announced October 20, 2026, restores the compiler API removed in 7.0, now split into separate entry points. It adds content mappers, letting tools like Vue check non-standard files. One Vue project's type checks fell from 14.19 to 3.10 seconds. An editor issue remains open, and teams may need TypeScript 6 alongside 7. By Daniel Curtis
Microsoft has released the TypeScript 7.1 Beta, the first update to the Go-based native compiler that landed as TypeScript 7.0 in July. The update restores the Compiler API, which was dropped in TypeScript 7.0, and introduces content mappers to support Vue and Svelte first-class integration. Content mappers allow packages to provide a virtual view of non-standard files like .vue or .svelte components, enabling editors to derive new state from old snapshots without rebuilding the entire world.
The team expects the feature to be backward compatible across all of 7.x once stable. Notable improvements include a speedup of type checks in Directus admin app by 4.6x and a 2.76x reduction in a 353,000 line NestJS check. However, teams adopting the beta will need to run 7.1 in CI alongside an older TypeScript in the editor until Vue tooling stabilises on top of the stable release.
Brief written by urgent.news from InfoQ's own syndicated text. Machine-written — may contain errors; check the original before relying on it.