MCPcopy
hub / github.com/angular/angular / InjectorWithDep

Class InjectorWithDep

packages/core/test/di/r3_injector_spec.ts:181–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 }
180
181 class InjectorWithDep {
182 constructor(readonly service: Service) {}
183
184 static ɵfac = () => new InjectorWithDep(ɵɵinject(Service));
185 static ɵinj = ɵɵdefineInjector({});
186 }
187
188 class ChildService extends ServiceWithDep {}
189

Callers

nothing calls this directly

Calls 2

ɵɵinjectFunction · 0.90
ɵɵdefineInjectorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…