ModuleWithProviders
interfacestablecodeA 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