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

Function expandModuleWithProviders

packages/core/src/render3/jit/module.ts:612–617  ·  view source on GitHub ↗
(value: Type<any> | ModuleWithProviders<{}>)

Source from the content-addressed store, hash-verified

610}
611
612function expandModuleWithProviders(value: Type<any> | ModuleWithProviders<{}>): Type<any> {
613 if (isModuleWithProviders(value)) {
614 return value.ngModule;
615 }
616 return value;
617}

Callers

nothing calls this directly

Calls 1

isModuleWithProvidersFunction · 0.90

Tested by

no test coverage detected