diff --git a/extensions/feishu/src/send-target.ts b/extensions/feishu/src/send-target.ts index 322333b3bad..58b9c85eebb 100644 --- a/extensions/feishu/src/send-target.ts +++ b/extensions/feishu/src/send-target.ts @@ -3,11 +3,17 @@ import { resolveFeishuRuntimeAccount } from "./accounts.js"; import { createFeishuClient } from "./client.js"; import { resolveReceiveIdType, normalizeFeishuTarget } from "./targets.js"; +type FeishuSendTarget = { + client: ReturnType; + receiveId: string; + receiveIdType: ReturnType; +}; + export function resolveFeishuSendTarget(params: { cfg: ClawdbotConfig; to: string; accountId?: string; -}) { +}): FeishuSendTarget { const target = params.to.trim(); const account = resolveFeishuRuntimeAccount({ cfg: params.cfg, accountId: params.accountId }); if (!account.configured) {