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

## deprecationWarning variable

### deprecationWarning variable

<b>Signature</b>

```typescript
deprecationWarning: (file: string, oldName: string, newName?: string | undefined) => void
```
<b>Import</b>

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