(opts: {
token: unknown;
providedIn?: Type<any> | 'root' | 'platform' | 'any' | 'environment' | null;
factory: (parent?: Type<any>) => T;
})
| 165 | * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm. |
| 166 | */ |
| 167 | export function ɵɵdefineInjectable<T>(opts: { |
| 168 | token: unknown; |
| 169 | providedIn?: Type<any> | 'root' | 'platform' | 'any' | 'environment' | null; |
| 170 | factory: (parent?: Type<any>) => T; |
| 171 | }): ɵɵInjectableDeclaration<T> { |
| 172 | return { |
| 173 | token: opts.token, |
| 174 | providedIn: (opts.providedIn as any) || null, |
| 175 | factory: opts.factory, |
| 176 | value: undefined, |
| 177 | }; |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * Construct an `InjectorDef` which configures an injector. |
no outgoing calls
no test coverage detected
searching dependent graphs…