ValueProvider

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
}