diff options
Diffstat (limited to 'deps/npm/node_modules/socks/typings/common/util.d.ts')
-rw-r--r-- | deps/npm/node_modules/socks/typings/common/util.d.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/npm/node_modules/socks/typings/common/util.d.ts b/deps/npm/node_modules/socks/typings/common/util.d.ts new file mode 100644 index 0000000000..14f658e22f --- /dev/null +++ b/deps/npm/node_modules/socks/typings/common/util.d.ts @@ -0,0 +1,14 @@ +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; +export { SocksClientError, shuffleArray }; |