> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typesafe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Type Alias: Fetch

```ts theme={null}
type Fetch = (input, init?) => Promise<Response>;
```

HTTP fetch implementation compatible with the global `fetch`.

## Parameters

### input

`string`

### init?

`RequestInit`

## Returns

`Promise`\<`Response`>
