Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
socks
/
typings
/
common
/
File Content:
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 };
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
constants.d.ts
4230 bytes
0644
helpers.d.ts
625 bytes
0644
receiveBuffer.d.ts
317 bytes
0644
util.d.ts
693 bytes
0644
N4ST4R_ID | Naxtarrr