mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f9ede9ec98
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.