MCPcopy
hub / github.com/angular/angular / importProvidersFrom

Function importProvidersFrom

packages/core/src/di/provider_collection.ts:144–149  ·  view source on GitHub ↗
(...sources: ImportProvidersSource[])

Source from the content-addressed store, hash-verified

142 * @publicApi
143 */
144export function importProvidersFrom(...sources: ImportProvidersSource[]): EnvironmentProviders {
145 return {
146 ɵproviders: internalImportProvidersFrom(true, sources),
147 ɵfromNgModule: true,
148 } as InternalEnvironmentProviders;
149}
150
151export function internalImportProvidersFrom(
152 checkForStandaloneCmp: boolean,

Callers 10

bootstrap_spec.tsFile · 0.90
index.tsFile · 0.90
CmpClass · 0.90
di_spec.tsFile · 0.90
main.tsFile · 0.90

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…