W3cubDocs

/Angular 11

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/ValueSansProvider