mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Includes the following changes to make sure the definitions for injectable compiler:
1. The types for the `factory` function now include the `parent` parameter.
2. `ɵɵFactoryDeclaration` is now defined as a function. We need this since the provider definition gets passed into the inejctable definition by reference.
3. `ɵɵdefineInjectable`, `ɵɵdefineNgModule` and `ɵɵdefinePipe` now return the typed definition, rather than `unknown`. This aligns with what we do for components and directives.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| http | ||
| testing | ||
| upgrade | ||
| errors.api.md | ||
| index.api.md | ||