StaticProvider

type-alias

npm Package @angular/core
Module import { StaticProvider } from '@angular/core';
Source core/src/di/provider.ts

Describes how the Injector should be configured in a static way (Without reflection).

type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[];

How To Use

See ValueProvider, ExistingProvider, FactoryProvider.

Description

For more details, see the "Dependency Injection Guide".

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/StaticProvider