ModuleWithProviders

From Get docs
< @angular/coreAngular/docs/9/api/core/modulewithproviders


ModuleWithProviders

interface

A wrapper around an NgModule that associates it with the providers.

interface ModuleWithProviders<T> {
  ngModule: Type<T>
  providers?: Provider[]
}

Properties

Property Description
ngModule: Type<T>
providers?: Provider[]


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/ModuleWithProviders