npm.io
1.0.4 • Published 1 year ago

@types/util-deprecate

Licence
MIT
Version
1.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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 0341 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.