Skip to content

Commit b754afd

Browse files
committed
chore: fix types
1 parent b1370f9 commit b754afd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/webrtc-connection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface WebRTCManagerState {
5151
rtcConnections: Map<string, RTCConnection>;
5252
logHandlers: Set<(logData: LogData) => void>;
5353
connectionHandlers: Set<(peerId: string, connected: boolean) => void>;
54+
pingInterval: NodeJS.Timeout | null;
5455
cleanupInterval: NodeJS.Timeout | null;
5556
reconnectionAttempts: number;
5657
maxReconnectionAttempts: number;
@@ -80,6 +81,7 @@ function createWebRTCManagerState(): WebRTCManagerState {
8081
rtcConnections: new Map(),
8182
logHandlers: new Set(),
8283
connectionHandlers: new Set(),
84+
pingInterval: null,
8385
cleanupInterval: null,
8486
reconnectionAttempts: 0,
8587
maxReconnectionAttempts: 5,

0 commit comments

Comments
 (0)