Type Alias WebSocketLike

WebSocketLike: Pick<WebSocket,
    | "addEventListener"
    | "send"
    | "close"
    | "readyState"
    | "OPEN"
    | "CONNECTING">