(injector: R3Injector)
| 681 | } |
| 682 | |
| 683 | export function assertNotDestroyed(injector: R3Injector): void { |
| 684 | if (injector.destroyed) { |
| 685 | throw new RuntimeError( |
| 686 | RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED, |
| 687 | ngDevMode && 'Injector has already been destroyed.', |
| 688 | ); |
| 689 | } |
| 690 | } |
| 691 | |
| 692 | function makeRecord<T>( |
| 693 | factory: (() => T) | undefined, |
no outgoing calls
no test coverage detected
searching dependent graphs…