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. |