Sha256: 3604ac923218d5aea27aa6141e6472060b399d6727f9487e244f83a705bf352a

Contents?: true

Size: 697 Bytes

Versions: 25

Compression:

Stored size: 697 Bytes

Contents

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: unknown[]): 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 };

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.52 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.51 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.50 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.49 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.48 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.47 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.46 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.45 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.44 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.43 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.42 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.41 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.40 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.39 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.38 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.32 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.31 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.30 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.29 node_modules/socks/typings/common/util.d.ts
immosquare-cleaner-0.1.28 node_modules/socks/typings/common/util.d.ts