Guides
Packages
API Reference
Design
Get Started
Menu
Docs
API
@daffodil/core
DaffSingleInjectionToken
DaffSingleInjectionToken
A injection token to hold and provide a single value.
Properties
Name
Type
Description
token
InjectionToken<T>
The injection token.
provider
<R extends T = T>(value: R) => ValueProvider
A helper function to provide a value to the token.
Graycore, LLC © 2018 - 2024. Code licensed under an
MIT-style License
. Documentation licensed under
CC BY 4.0.
Please enable JavaScript to continue using this application.