Provider
Describes how the Injector
should be configured.
type Provider = TypeProvider | ValueProvider | ClassProvider | ConstructorProvider | ExistingProvider | FactoryProvider | any[];
参见
说明
For more details, see the "Dependency Injection Guide".