DaffConfigInjectionToken

A injection token to hold and provide a config value.

Properties

Name Type Description
token InjectionToken<T> The injection token. Its default value is the default config passed during token creation.
provider <R extends T = T>(config: Partial<R>) => ValueProvider A helper function to provide a value to the token. It will shallow merge the passed config with the default config with the passed config keys taking precedence.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.