1 | # Installation
|
2 | > `npm install --save @types/universalify`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for universalify (https://github.com/RyanZim/universalify#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/universalify.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/universalify/index.d.ts)
|
10 | ````ts
|
11 | // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
12 | export function fromCallback(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
|
13 | // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
14 | export function fromPromise(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
|
15 |
|
16 | ````
|
17 |
|
18 | ### Additional Details
|
19 | * Last updated: Wed, 22 Nov 2023 00:24:48 GMT
|
20 | * Dependencies: none
|
21 |
|
22 | # Credits
|
23 | These definitions were written by [Richie Bendall](https://github.com/Richienb).
|
24 |
|
\ | No newline at end of file |