---
url: https://haihv.github.io/valifetch/api/index/type-aliases/GetOptions.md
---

# Type Alias: GetOptions\<TPath, TResponseSchema, TParamsSchema, TSearchSchema>

> **GetOptions**<`TPath`, `TResponseSchema`, `TParamsSchema`, `TSearchSchema`> = `Omit`<[`ValifetchOptions`](ValifetchOptions.md)<`TPath`, `TResponseSchema`, `undefined`, `TParamsSchema`, `TSearchSchema`>, `"json"` | `"bodySchema"` | `"form"` | `"body"`> & `object`

Defined in: [src/types/instance.ts:48](https://github.com/haihv/valifetch/blob/285835d38a6676b98d2ee1a93e23166c6c834cb2/src/types/instance.ts#L48)

Options for GET-like methods (no body)

## Type Parameters

### TPath

`TPath` *extends* `string` = `string`

### TResponseSchema

`TResponseSchema` *extends* `GenericSchema` | `undefined` = `undefined`

### TParamsSchema

`TParamsSchema` *extends* `GenericSchema` | `undefined` = `undefined`

### TSearchSchema

`TSearchSchema` *extends* `GenericSchema` | `undefined` = `undefined`

## Type Declaration

### responseType?

> `optional` **responseType?**: [`ResponseType`](ResponseType.md)

Response format - defaults to 'json'
