# Deprecation Decorator

Annotation for deprecated class methods, logs warning with information about method usage

## Usage

```
import { deprecated } from "@twilio/deprecation-decorator";

class SomeClass {
  @deprecated("oldMethod", "newMethod", "http://docs.link")
  oldMethod() {
    // some deprecated method 
  }

  newMethod() {
    // method to use instead
  }
}
```
