Type alias TypeProvider

TypeProvider: Type<any>

Configures the Injector to return an instance of Type when `Type' is used as the token.

Create an instance by invoking the new operator and supplying additional arguments. This form is a short form of TypeProvider;

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

Usage Notes

{@example core/di/ts/provider_spec.ts region='TypeProvider'}

Public Api

Generated using TypeDoc