@types/promisify-node
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

Installation

npm install --save @types/promisify-node

Summary

This package contains type definitions for promisify-node (https://github.com/nodegit/promisify-node).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promisify-node.

index.d.ts

export = promisify;

/**
 * Public API for Promisify.  Will resolve modules names using `require`.
 *
 * @param {*} name - Can be a module name, object, or function.
 * @param {Function} test - Optional function to identify async methods.
 * @param {Boolean} noMutate - Optional set to true to avoid mutating the target.
 * @returns {*} exports - The resolved value from require or passed in value.
 */
declare function promisify(name: string | Object | Function, test?: Function, noMutate?: boolean): any;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Borek Bernard.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/promisify-node

Weekly Downloads

707

Version

0.4.3

License

MIT

Unpacked Size

3.59 kB

Total Files

5

Last publish

Collaborators

  • types