+++
# -----------------------------------------------------------------------
# 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
Signature
```typescript
deprecationWarning: (file: string, oldName: string, newName?: string | undefined) => void
```
Import
```typescript
import { deprecationWarning } from '@grafana/data';
```