TypeProvider

TypeProvider

Stable Interface

What it does

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

How to use

@Injectable()
class MyService {}

const provider: TypeProvider = MyService;

Interface Overview

interface TypeProvider extends Type {
}