ModuleWithProviders
interface
stable
A wrapper around an NgModule that associates it with providers Usage without a generic type is deprecated.
API
interface ModuleWithProviders<T> { ngModule: Type<T>; providers?: (Provider | EnvironmentProviders)[] | undefined;}
ngModule
Type<T>providers
(Provider | EnvironmentProviders)[] | undefinedJump to details