# An update on Angular's TypeScript 7-powered Compiler

DevFeed: [An update on Angular's TypeScript 7-powered Compiler](<https://devfeed.tech/articles/an-update-on-angular-s-typescript-7-powered-compiler-60165.md>)

Original publisher: [Read original article](<https://blog.angular.dev/an-update-on-angulars-typescript-7-powered-compiler-9619a35e2b0a?source=rss----447683c3d9a3---4>)

Author: Angular

Published: 2026-09-25T13:59:11Z

Content type: article

Language: en

Sources: [Angular](<https://devfeed.tech/sources/angular.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Transpilers](<https://devfeed.tech/topics/transpilers.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-compiler](<https://devfeed.tech/tags/angular-compiler.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [bundlers](<https://devfeed.tech/tags/bundlers.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [components](<https://devfeed.tech/tags/components.md>), [directives](<https://devfeed.tech/tags/directives.md>), [go](<https://devfeed.tech/tags/go.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [language](<https://devfeed.tech/tags/language.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [native](<https://devfeed.tech/tags/native.md>), [performance](<https://devfeed.tech/tags/performance.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [typescript-7](<https://devfeed.tech/tags/typescript-7.md>)

## AI overview

Angular plans to add an Angular Preprocessor (ngp) that decouples compilation from TypeScript's compiler APIs so Angular can benefit from native tooling such as TypeScript 7. Its Rust frontend uses Oxc to parse source in parallel, find Angular constructs, map dependencies, and produce compilation tasks. A TypeScript backend reuses Angular's existing template compiler to emit runtime code and separate template type-checking files, with source maps; outputs are generally kept in memory. The team chose Rust and Oxc for their maintained JavaScript/TypeScript parsing and transformation APIs, while TypeScript 7.1 interop is planned for type-checking and diagnostics. ngp is nearing an MVP and is being tested against Google's Angular codebase, with CLI and language-service prototypes underway; an experimental release is targeted for later in the year. Overall build speedup remains unknown pending full CLI benchmarks. The team notes rare potential type-checking differences and says VoidZero's oxc-angular-compiler lacks template type-checking and required cross-file optimizations.

## Source excerpt

Alex Rickabaugh & Mark Techson [Alex] I joined the Angular team in 2015, around the original Angular 2.0 release. One of my first tasks was to convert source code from JavaScript into a relatively new (at the time) language from Microsoft, known as TypeScript. TypeScript would go on to become both an industry standard and one of Angular's greatest strengths, providing the structure and safety for the team to scale the framework. We built Angular's innovative ahead-of-time compiler on top of the TypeScript compiler's APIs. While compiling web applications was not new at Google, it was certainly rare in the larger web ecosystem at the time. Fast forward to today -- TypeScript has helped Angular scale to some of the largest web applications in the world. The web ecosystem's tooling has evolved significantly in the last 10 years as well. Recently we've started to see a push to build higher performance JavaScript compilers, bundlers, and other tools using native code. TypeScript 7 is an incredible demonstration of the potential here, and we'd like to congratulate the TypeScript team on their stable release and the amazing performance it delivers! If you haven't seen their blog post yet, take a moment to check it out, especially the performance numbers. Angular's compiler has one of the most complex integrations with TypeScript in the web ecosystem, and we've known that this deep integration cannot work with a Go-compiled version of TypeScript. Apart from the overhead of crossing the language barrier, the Angular compiler implements its own code transformations via the ts.Transformer API which is not available cross-language. Bringing the same benefits of native tooling and TypeScript 7 to Angular developers requires us to think outside of the box. Early this year, we started putting together our plan: decouple Angular compilation from TypeScript's compiler APIs, and build a new Angular-specific compiler that processes components, directives, etc. and outputs transformed T