Function configProviderFactory
- configProviderFactory(value): Provider
-
Parameters
-
value: {
configValue?: unknown;
defaultValue: unknown;
deps?: unknown[];
multi?: boolean;
provide: unknown;
}
-
Optional
configValue?: unknown
-
defaultValue: unknown
-
Optional
deps?: unknown[]
-
Optional
multi?: boolean
-
provide: unknown
Returns Provider
Creates a suitable Provider object using a config value and a default value.
Returns
A suitable Provider.