ValueProvider

Stable

Interface

What it does

Configures the Injector to return a value for a token.

How to use

const provider: ValueProvider = {provide: 'someToken', useValue: 'someValue'};

Interface Overview

interface ValueProvider {
provide : any
useValue : any
multi : boolean

}

Interface Description

Interface Details

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