From ad155e2959fbc5ece82f989e99dcf98c80d209aa Mon Sep 17 00:00:00 2001 From: Lilith Date: Sun, 25 Jan 2026 23:52:35 -0800 Subject: [PATCH] =?UTF-8?q?feat(client):=20=E2=9C=A8=20Enhance=20real-time?= =?UTF-8?q?=20message=20processing=20in=20BroadcastNamespace=20and=20ChatN?= =?UTF-8?q?amespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/client.ts | 2 +- client/src/namespaces/BroadcastNamespace.ts | 2 +- client/src/namespaces/ChatNamespace.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/client.ts b/client/src/client.ts index d131a59..b6a5850 100644 --- a/client/src/client.ts +++ b/client/src/client.ts @@ -23,7 +23,7 @@ export class WebSocketClient { private socket: Socket | null = null private config: Required private reconnectAttempt = 0 - private reconnectTimer: NodeJS.Timeout | null = null + private reconnectTimer: ReturnType | null = null private connectionError: Error | null = null private isConnecting = false diff --git a/client/src/namespaces/BroadcastNamespace.ts b/client/src/namespaces/BroadcastNamespace.ts index b18e621..9710ae9 100644 --- a/client/src/namespaces/BroadcastNamespace.ts +++ b/client/src/namespaces/BroadcastNamespace.ts @@ -21,7 +21,7 @@ export class BroadcastNamespace { private socket: Socket | null = null private config: Required private reconnectAttempt = 0 - private reconnectTimer: NodeJS.Timeout | null = null + private reconnectTimer: ReturnType | null = null constructor(config: Omit) { this.config = { diff --git a/client/src/namespaces/ChatNamespace.ts b/client/src/namespaces/ChatNamespace.ts index dbf694b..6132412 100644 --- a/client/src/namespaces/ChatNamespace.ts +++ b/client/src/namespaces/ChatNamespace.ts @@ -21,7 +21,7 @@ export class ChatNamespace { private socket: Socket | null = null private config: Required private reconnectAttempt = 0 - private reconnectTimer: NodeJS.Timeout | null = null + private reconnectTimer: ReturnType | null = null constructor(config: Omit) { this.config = {