W3cubDocs

/Angular 10

ValueSansProvider

interface

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

interface ValueSansProvider {
  useValue: any
}

Child interfaces

Properties

Property Description
useValue: any

The value to inject.

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