UNPKG

@types/util-deprecate

Version:
24 lines (17 loc) 799 B
# Installation > `npm install --save @types/util-deprecate` # Summary This package contains type definitions for util-deprecate (https://github.com/TooTallNate/util-deprecate). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/util-deprecate. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/util-deprecate/index.d.ts) ````ts export = deprecate; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type declare function deprecate<T extends Function>(fn: T, message: string): T; ```` ### Additional Details * Last updated: Wed, 23 Oct 2024 03:36:41 GMT * Dependencies: none # Credits These definitions were written by [BendingBender](https://github.com/BendingBender).