+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DataSourceQueryType"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## DataSourceQueryType type

### DataSourceQueryType type

<b>Signature</b>

```typescript
export declare type DataSourceQueryType<DSType extends DataSourceApi<any, any>> = DSType extends DataSourceApi<infer TQuery, infer _TOptions> ? TQuery : never;
```
<b>Import</b>

```typescript
import { DataSourceQueryType } from '@grafana/data';
```
