Skip to content

Commit e4de33b

Browse files
committed
Added maxreconnectinterval to ts definition
1 parent d97587b commit e4de33b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reconnecting-websockets.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ declare class ReconnectingWebSocket
2323
/** The number of milliseconds to delay before attempting to reconnect. */
2424
public reconnectInterval: number;
2525

26+
/** The maximum number of milliseconds to delay a reconnection attempt. */
27+
public maxReconnectInterval: number;
28+
2629
/** The rate of increase of the reconnect delay. Allows reconnect attempts to back off when problems persist. */
2730
public reconnectDecay: number;
2831

0 commit comments

Comments
 (0)