mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit updates the `TransferState` class and replaces the `@Injectable` decorator with a lower-level function call. This is a common practice for token defined in `core`, for example: * https://github.com/angular/angular/blob/main/packages/core/src/change_detection/differs/iterable_differs.ts#L193-L196 * https://github.com/angular/angular/blob/main/packages/core/src/di/injector.ts#L121-L126 This is needed to avoid cirular references when using `TransferState` in other locations in `core`, for example: https://github.com/angular/angular/pull/49271. Circular dependencies are coming from the fact t hat the `@Injectable` from the `packages/core/src/di/injectable.ts` file refers to a number of extra symbols. PR Close #49272 |
||
|---|---|---|
| .. | ||
| global | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||