angular / 12.2.13 / api / core / valuesansprovider.html /

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://v12.angular.io/api/core/ValueSansProvider