1 | // Type definitions for util-deprecate 1.0
|
2 | // Project: https://github.com/TooTallNate/util-deprecate
|
3 | // Definitions by: BendingBender <https://github.com/BendingBender>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export = deprecate;
|
7 |
|
8 | // tslint:disable-next-line ban-types
|
9 | declare function deprecate<T extends Function>(fn: T, message: string): T;
|