· ai-devtools

Angular's TypeScript 7-Powered Compiler Enters Beta with Rust-Based Preprocessor

Alex Rickabaugh and Mark Techson unveiled the work on the Angular team blog in late September, shortly after Microsoft shipped TypeScript 7.0, whose Go-based rewrite removed the ts.Transformer API that Angular's ahead-of-time compiler depends on.


The existing compiler, ngc, wraps tsc and uses the Transformer API to turn decorators such as @Component and @Pipe into runtime instructions. The Go port offers no cross-language equivalent, and crossing the JS/Go boundary at every file would be prohibitive.

The Angular team's answer is to decouple compilation from TypeScript's APIs and rebuild it on Oxc, the VoidZero Rust toolchain already powering Vite. The team pointed to the plan on X, framing it as a partial rewrite rather than a fresh start. ngp runs in three stages.

A Rust frontend using Oxc analyses files in parallel to discover Angular declarations and resolve metadata. The existing TypeScript template compiler then emits two artefacts, a runtime file containing the transformed component and a .ngtypecheck.ts file holding the Type Check Block (TCB) for template type-checking. Finally a downstream tool, whether tsgo, tsrs, esbuild or Rolldown, handles type-checking and JavaScript emission independently.

Earlier coverage

Related coverage

Also worth reading

  1. angular 22.3.0-rc.0 released
  2. node 26.13.1 released
  3. AMD: Where we're going we don't need (as much) DRAM
  4. The Rise of AI Site Reliability Engineers – Can Autonomous Agents Handle Production Incidents
  5. Red Hat OpenShift 5 brings autonomous troubleshooting to hybrid clouds