TypeScript 7.1 Beta: Restores the Compiler API and Makes Vue and Svelte First-Class
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
TypeScript 7.1 beta restoring compiler API and adding content mappers is highly relevant.
TypeScript 7.1 Beta restores the compiler API dropped in 7.0, splitting it into focused entry points (typescript/sync, typescript/async, typescript/fs, typescript/ast) and introducing content mappers that give Vue and Svelte first-class support via virtual file views. Vue Language Tools v4 alpha already ports to it, yielding a 4.6x speedup on a 581-component Directus codebase (14.19s to 3.10s), while MUI docs see checks halve from 22.2s to 11.9s with roughly 50% less memory. The beta also adds import attributes in ambient declarations, TC39 source phase imports for WebAssembly, and a stable es2026 target with Math.sumPrecise() and Error.isError().