Files
Kristiyan Kostadinov e11dea88b9 fix(compiler-cli): handle typeof when analyzing imports in preprocessor
When TS emits re-exported `as const` arrays in .d.ts, it may emit something like `typeof import('...').Foo` for elements that aren't directly imported in the file. These changes update the preprocessor to resolve them correctly.

(cherry picked from commit 3492295b9a)
2026-11-23 12:31:20 +01:00
..

Rust-based Compiler Preprocessor

Caution

Prototype — External Contributions Not Accepted

The Rust-based compiler preprocessor code in this directory is an early-stage prototype under active development by the Angular team.

We are not accepting issues, bug reports, feature requests, or pull requests for this package from external contributors at this time. Any issues or PRs opened for this code will be closed.

Overview

This directory contains a native AST analysis preprocessor and typecheck block (TCB) generation pipeline designed for high-performance Angular compilation and developer tooling integration. It combines Rust-based AST analysis (ng-analyze) using oxc with a TypeScript-based typechecking coordination layer.