

# ConfigProviderOptionsType

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

```ts
import { ConfigProviderOptionsType } from "@hyper-fetch/react"
```

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [react/src/config-provider/config-provider.types.ts:12](https://github.com/BetterTyped/hyper-fetch/blob/c44d728f/packages/react/src/config-provider/config-provider.types.ts#L12)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview type">

```ts
type ConfigProviderOptionsType<SocketResponses> = {
  useCacheConfig: Partial<UseCacheOptionsType<RequestInstance>>; 
  useEmitter: Partial<UseEmitterOptionsType>; 
  useEventMessages: Partial<UseEventMessagesOptionsType<SocketResponses>>; 
  useFetchConfig: Partial<UseFetchOptionsType<RequestInstance>>; 
  useListener: Partial<UseListenerOptionsType>; 
  useQueueConfig: Partial<UseQueueOptionsType>; 
  useSubmitConfig: Partial<UseSubmitOptionsType<RequestInstance>>; 
}
```

</div><div class="api-docs__section">

## Structure

</div><div class="api-docs__returns">

```ts
{
  useCacheConfig: Partial<UseCacheOptionsType<RequestInstance>>;
  useEmitter: Partial<UseEmitterOptionsType>;
  useEventMessages: Partial<UseEventMessagesOptionsType<SocketResponses>>;
  useFetchConfig: Partial<UseFetchOptionsType<RequestInstance>>;
  useListener: Partial<UseListenerOptionsType>;
  useQueueConfig: Partial<UseQueueOptionsType>;
  useSubmitConfig: Partial<UseSubmitOptionsType<RequestInstance>>;
}
```

</div>