angular/packages/core/src/di/interface
Kristiyan Kostadinov f9ede9ec98 fix(core): ensure definitions compile
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.
2026-03-10 09:58:18 -07:00
..
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
defs.ts fix(core): ensure definitions compile 2026-03-10 09:58:18 -07:00
injector.ts refactor(core): replace internal usages of InjectFlags (#60318) 2025-03-11 11:33:09 -07:00
provider.ts docs: Fixes DI guide reference missing ')' in see tag (#64457) 2025-10-16 17:34:17 +00:00