From d1c1aaaffe85b8c75ca7409f4467e807f2cde679 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 29 Jul 2026 17:07:17 +0800 Subject: [PATCH] fix(msteams): type thread allowlist inputs --- extensions/msteams/src/monitor-handler/thread-context.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extensions/msteams/src/monitor-handler/thread-context.ts b/extensions/msteams/src/monitor-handler/thread-context.ts index f58e14245cee..2b615c617c27 100644 --- a/extensions/msteams/src/monitor-handler/thread-context.ts +++ b/extensions/msteams/src/monitor-handler/thread-context.ts @@ -96,9 +96,7 @@ export async function resolveMSTeamsThreadContext(params: { conversationId: string; contextVisibilityMode: "all" | "allowlist" | "allowlist_quote"; groupPolicy: Parameters[0]["groupPolicy"]; - effectiveGroupAllowFrom: Parameters< - typeof resolveInboundSupplementalSenderAllowed - >[0]["allowFrom"]; + effectiveGroupAllowFrom: readonly (string | number)[]; allowNameMatching: boolean; log: MSTeamsMessageHandlerDeps["log"]; }) {