ImportedNgModuleProviders
Providers that were imported from NgModules via the importProvidersFrom
function.
Deprecated: replaced by EnvironmentProviders
type ImportedNgModuleProviders = EnvironmentProviders;
See also
Description
These providers are meant for use in an application injector (or other environment injectors) and should not be used in component injectors.
This type cannot be directly implemented. It's returned from the importProvidersFrom
function
and serves to prevent the extracted NgModule providers from being used in the wrong contexts.