Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValueProvider<T>

Interface defining a Value type provider.

For example:

const connectionProvider = {
  provide: 'CONNECTION',
  useValue: connection,
};
see

Use value

publicapi

Type parameters

  • T = any

Hierarchy

  • ValueProvider

Index

Properties

Properties

provide

provide: string | symbol | Type<any> | Abstract<any> | Function

Injection token

useValue

useValue: T

Instance of a provider to be injected.

Generated using TypeDoc