[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/client](../../README) / [index](../README) / QueryOf

# Type Alias: QueryOf\<Routes, Method, Path\>

> **QueryOf**\<`Routes`, `Method`, `Path`\> = `` `${Method} ${Path}` `` *extends* keyof `Routes` ? `Routes`\[`` `${Method} ${Path}` ``\] *extends* `object` ? `Q` : `Record`\<`string`, `string` \| `number` \| `boolean` \| `undefined`\> : `Record`\<`string`, `string` \| `number` \| `boolean` \| `undefined`\>

Defined in: [client/src/types.ts:104](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/client/src/types.ts#L104)

Get the `query` type for a specific method + path combination.

## Type Parameters

### Routes

`Routes` *extends* [`ApiRouteMap`](ApiRouteMap)

### Method

`Method` *extends* [`HttpMethod`](HttpMethod)

### Path

`Path` *extends* `string`
