What it does
Configures the Injector
to return an instance of Type
when `Type' is used
as token.
How to use
Interface Overview
interface TypeProvider extends Type {
}
Interface Description
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.
Example
exported from core/index, defined in core/src/di/provider.ts