MCPcopy
hub / github.com/angular/angular / ServiceWithMissingDep

Class ServiceWithMissingDep

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

Source from the content-addressed store, hash-verified

90 }
91
92 class ServiceWithMissingDep {
93 constructor(readonly service: Service) {}
94
95 static ɵprov = ɵɵdefineInjectable({
96 token: ServiceWithMissingDep,
97 providedIn: null,
98 factory: () => new ServiceWithMissingDep(ɵɵinject(Service)),
99 });
100 }
101
102 class ServiceWithMultiDep {
103 constructor(readonly locale: string[]) {}

Callers

nothing calls this directly

Calls 2

ɵɵdefineInjectableFunction · 0.90
ɵɵinjectFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…