@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/universalify

Weekly Downloads

31,578

Version

1.0.3

License

MIT

Unpacked Size

3.24 kB

Total Files

5

Last publish

Collaborators

  • types