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

1.0.3 • Public • Published

Installation

npm install --save @types/universalify

Summary

This package contains type definitions for universalify (https://github.com/RyanZim/universalify#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/universalify.

index.d.ts

// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
export function fromCallback(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
export function fromPromise(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;

Additional Details

  • Last updated: Wed, 22 Nov 2023 00:24:48 GMT
  • Dependencies: none

Credits

These definitions were written by Richie Bendall.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    32,221
  • 1.0.2
    13
  • 1.0.1
    18
  • 1.0.0
    2,956
  • 0.1.0
    2

Package Sidebar

Install

npm i @types/universalify

Weekly Downloads

35,210

Version

1.0.3

License

MIT

Unpacked Size

3.24 kB

Total Files

5

Last publish

Collaborators

  • types