ValueSansProvider

From Get docs
< @angular/coreAngular/docs/9/api/core/valuesansprovider


ValueSansProvider

interface

Configures the Injector to return a value for a token. Base for ValueProvider decorator.

interface ValueSansProvider {
  useValue: any
}

Child interfaces

  • ValueProvider


Properties

Property Description
useValue: any The value to inject.


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/ValueSansProvider