/
home2
/
dakshskx
/
nodejs
/
lib
/
node_modules
/
npm
/
node_modules
/
socks
/
typings
/
common
/
/home2/dakshskx/nodejs/lib/node_modules/npm/node_modules/socks/typings/common
mkdir
upload
Name
Size
Mode
Actions
constants.d.ts
4818
0644
edit
dl
rm
helpers.d.ts
625
0644
edit
dl
rm
receivebuffer.d.ts
314
0644
edit
dl
rm
util.d.ts
697
0644
edit
dl
rm
Edit:
/home2/dakshskx/nodejs/lib/node_modules/npm/node_modules/socks/typings/common/util.d.ts
(697B)
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 };
Save
cmd:
run