3 lines
213 B
Plaintext
3 lines
213 B
Plaintext
import { Options, WebSocketHook } from './types';
|
|
export declare const useWebSocket: <T = unknown>(url: string | (() => string | Promise<string>) | null, options?: Options, connect?: boolean) => WebSocketHook<T>;
|