MCPcopy Create free account
hub / github.com/angular/angular / UseFactory

Class UseFactory

packages/core/test/render3/jit/declare_injectable_spec.ts:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138class UseFactory {
139 constructor(readonly msg: string) {}
140 static ɵprov = ɵɵngDeclareInjectable({
141 type: UseFactory,
142 useFactory: () => new UseFactory('from factory'),
143 });
144}
145
146class UseValue {
147 constructor(readonly msg: string) {}

Callers

nothing calls this directly

Calls 1

ɵɵngDeclareInjectableFunction · 0.90

Tested by

no test coverage detected