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 {

}

Interface Description

exported from core/index, defined in core/src/di/provider.ts