W3cubDocs

/Angular

ValueSansProvider

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

API

interface ValueSansProvider {
  useValue: any;
}

useValue

any

The value to inject.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/ValueSansProvider