mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
10 lines
371 B
TypeScript
10 lines
371 B
TypeScript
// Type definitions for util-deprecate 1.0
|
|
// Project: https://github.com/TooTallNate/util-deprecate
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = deprecate;
|
|
|
|
// tslint:disable-next-line ban-types
|
|
declare function deprecate<T extends Function>(fn: T, message: string): T;
|