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

## DataSourceConstructor interface

<b>Signature</b>

```typescript
export interface DataSourceConstructor<DSType extends DataSourceApi<TQuery, TOptions>, TQuery extends DataQuery = DataQuery, TOptions extends DataSourceJsonData = DataSourceJsonData> 
```
<b>Import</b>

```typescript
import { DataSourceConstructor } from '@grafana/data';
```
<b>Methods</b>

|  Method | Description |
|  --- | --- |
|  [new(instanceSettings, args)](#new-instancesettingsargs) |  |

### new(instanceSettings, args)

<b>Signature</b>

```typescript
new (instanceSettings: DataSourceInstanceSettings<TOptions>, ...args: any[]): DSType;
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  instanceSettings | <code>DataSourceInstanceSettings&lt;TOptions&gt;</code> |  |
|  args | <code>any[]</code> |  |

<b>Returns:</b>

`DSType`

