File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/core/realtime-js/src Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ export interface WebSocketLikeConstructor {
6767 address : string | URL ,
6868 subprotocols ?: string | string [ ] | undefined
6969 ) : WebSocketLike
70+ // Allow additional properties that may exist on WebSocket constructors
71+ [ key : string ] : any
7072}
7173
7274export interface WebSocketLikeError {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import RealtimeClient, {
22 RealtimeClientOptions ,
33 RealtimeMessage ,
44 RealtimeRemoveChannelResponse ,
5+ WebSocketLikeConstructor ,
56} from './RealtimeClient'
67import RealtimeChannel , {
78 RealtimeChannelOptions ,
@@ -48,4 +49,5 @@ export {
4849 REALTIME_CHANNEL_STATES ,
4950 WebSocketFactory ,
5051 WebSocketLike ,
52+ WebSocketLikeConstructor ,
5153}
You can’t perform that action at this time.
0 commit comments