Function: consumeRequestConfig()
consumeRequestConfig<
C
,D
>(context
,defaultValue
?):Exclude
<D
,undefined
> |Exclude
<C
&Partial
<ConsumeHttpRequestConfig
>["httpRequestConfig"
],undefined
>
Type parameters
• C extends object
• D = never
Parameters
• context: C
& Partial
<ConsumeHttpRequestConfig
>
• defaultValue?: D
Returns
Exclude
<D
, undefined
> | Exclude
<C
& Partial
<ConsumeHttpRequestConfig
>["httpRequestConfig"
], undefined
>
Source
packages/http/src/actions/context/consumers/consumeRequestConfig.ts:4