(injector: R3Injector)
| 686 | } |
| 687 | |
| 688 | export function assertNotDestroyed(injector: R3Injector): void { |
| 689 | if (injector.destroyed) { |
| 690 | throw new RuntimeError( |
| 691 | RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED, |
| 692 | ngDevMode && 'Injector has already been destroyed.', |
| 693 | ); |
| 694 | } |
| 695 | } |
| 696 | |
| 697 | function makeRecord<T>( |
| 698 | factory: (() => T) | undefined, |
no outgoing calls
no test coverage detected