diff --git a/extensions/zalouser/src/zalo-js.ts b/extensions/zalouser/src/zalo-js.ts index 414a5f80207..c7e036cf8c7 100644 --- a/extensions/zalouser/src/zalo-js.ts +++ b/extensions/zalouser/src/zalo-js.ts @@ -64,7 +64,10 @@ const activeListeners = new Map(); const groupContextCache = new Map(); type ApiTypingCapability = { - sendTypingEvent: (threadId: string, type?: ThreadType) => Promise; + sendTypingEvent: ( + threadId: string, + type?: (typeof ThreadType)[keyof typeof ThreadType], + ) => Promise; }; type StoredZaloCredentials = { diff --git a/src/gateway/server-reload-handlers.ts b/src/gateway/server-reload-handlers.ts index 429beee8da2..73e8129e189 100644 --- a/src/gateway/server-reload-handlers.ts +++ b/src/gateway/server-reload-handlers.ts @@ -17,7 +17,8 @@ import { import { setCommandLaneConcurrency, getTotalQueueSize } from "../process/command-queue.js"; import { CommandLane } from "../process/lanes.js"; import type { ChannelHealthMonitor } from "./channel-health-monitor.js"; -import type { ChannelKind, GatewayReloadPlan } from "./config-reload.js"; +import type { ChannelKind } from "./config-reload-plan.js"; +import type { GatewayReloadPlan } from "./config-reload.js"; import { resolveHooksConfig } from "./hooks.js"; import { startBrowserControlServerIfEnabled } from "./server-browser.js"; import { buildGatewayCronService, type GatewayCronState } from "./server-cron.js";