( injector: Injector | null | undefined, )
| 30 | } |
| 31 | |
| 32 | export function setCurrentInjector( |
| 33 | injector: Injector | null | undefined, |
| 34 | ): Injector | undefined | null { |
| 35 | const former = _currentInjector[0]; |
| 36 | _currentInjector[0] = injector; |
| 37 | return former; |
| 38 | } |
| 39 | |
| 40 | export function inject<T>(token: InjectionToken<T> | Constructor<T>): T; |
| 41 | export function inject<T>( |
no outgoing calls
no test coverage detected