PHP 8.2.30
Preview: util.d.ts Size: 693 B
/usr/lib/node_modules/npm/node_modules/socks/typings/common/util.d.ts

import { SocksClientOptions, SocksClientChainOptions } from './constants';
/**
 * Error wrapper for SocksClient
 */
declare class SocksClientError extends Error {
    options: SocksClientOptions | SocksClientChainOptions;
    constructor(message: string, options: SocksClientOptions | SocksClientChainOptions);
}
/**
 * Shuffles a given array.
 * @param array The array to shuffle.
 */
declare function shuffleArray(array: any[]): void;
declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
    [K in Keys]?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>;
}[Keys];
export { RequireOnlyOne, SocksClientError, shuffleArray };

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
4.13 KB lrw-r--r-- 2021-03-10 14:36:36
Edit Download
625 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download
317 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download
693 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).