mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
For signal inputs we are looking at generating additional code inside type constructors. This code is planned to reference an external type from `@angular/core` to unwrap `InputSignal`'s class fields. The existing `Environment` class contains helpers for emitting such references / and translating them from the output AST. We extract this logic into a superclass for only emitting references. A similar type already existed to avoid circular dependencies- but now we have actual use-cases to populate this as a base class. This allows us to create more-suitable minimal emit environments when we e.g. generate type constructors inline- which are not part of any type check block. The existing `Environment` class is scoped to type check blocks and therefore was not suitable. PR Close #53521 |
||
|---|---|---|
| .. | ||
| integrationtest | ||
| linker | ||
| ngcc | ||
| private | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| esbuild.config.js | ||
| index.ts | ||
| package.json | ||
| tsconfig-build.json | ||
| tsconfig.json | ||