<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@workgrid/client](./client.md) &gt; [QueryKey](./client.querykey.md)

## QueryKey type

> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
> 


<b>Signature:</b>

```typescript
type QueryKey<K extends keyof Queries, Q extends Query = Queries[K]> = Q['TQueryKey'] extends string | [string] ? K | [K] : Q['TQueryKey'] extends [string, ...infer R] ? [K, ...R] : never;
```
