Configures the Injector to return a value for a token. Base for ValueProvider decorator.
API
interface ValueSansProvider {
useValue: any;
}
useValue
anyThe value to inject.
Configures the Injector to return a value for a token. Base for ValueProvider decorator.
interface ValueSansProvider {
useValue: any;
}
anyThe 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