interface Dependencies {
    ReconnectingWebSocket?: typeof default;
    WebSocket?: (new (url, protocols?) => WebSocket);
}

Properties

ReconnectingWebSocket?: typeof default
WebSocket?: (new (url, protocols?) => WebSocket)

Type declaration

    • new (url, protocols?): WebSocket
    • Parameters

      • url: string | URL
      • Optional protocols: string | string[]

      Returns WebSocket