# Function: getFetch()

> 

> **getFetch**(`customFetchImpl`?): `FetchEsque`

Defined in: packages/client/dist/index.d.mts:258

The `fetch` to use: `customFetchImpl` if given, or else the global one.
Throws if there's none.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `customFetchImpl`? | `FetchEsque` \| `NativeFetchEsque` |

## Returns

`FetchEsque`
