TypeScript native previews (Go-based tsgo) — ~10x faster type-checks and editor service

TypeScriptDevToolsBuildIDE

Key update

Microsoft published broad previews of the TypeScript native port (codename “Corsa”), offering a Go-based compiler executable (distributed as tsgo via the @typescript/native-preview package) and an experimental VS Code extension. The native preview shows roughly 8–10x improvements in editor project-load and type-check times on large repositories and provides a preview language service for editor responsiveness; it’s available to try now but lacks some production features (declaration emit, --build/project-references, full LSP features) and is explicitly an opt-in preview. (devblogs.microsoft.com)

Why it matters

  • Developer feedback loop: large monorepos and heavy TypeScript projects will see substantially shorter edit/typing feedback and faster refactor operations (rename/find-refs), which materially reduces dev idle time and review turnaround.
  • CI and cost: full/parallel type-check jobs and incremental checks can finish in a fraction of the time, lowering CI wall-clock and runner costs if you can safely test the preview in your pipeline.
  • Migration impact and risk: the preview is fast but not feature-complete — don’t switch CI or production builds wholesale yet. Practical path: try tsgo locally (npx tsgo), enable the VS Code native preview for a team subset, run full test suites and declaration-emit paths with your existing tsc to validate parity, and pin the preview version in CI if you run trial jobs. Expect ecosystem work (tooling that integrates tightly with tsc/tsserver) to need updates as the native API and IPC approach mature. (devblogs.microsoft.com)

Source

Read Next