fix: narrow Slack outbound blocks opt type

This commit is contained in:
Peter Steinberger
2026-03-13 03:29:00 +00:00
parent 17c954c46e
commit 0f290fe6d6

View File

@@ -54,7 +54,7 @@ async function sendSlackOutboundMessage(params: {
text: string;
mediaUrl?: string;
mediaLocalRoots?: readonly string[];
blocks?: Parameters<typeof sendMessageSlack>[2]["blocks"];
blocks?: NonNullable<Parameters<typeof sendMessageSlack>[2]>["blocks"];
accountId?: string | null;
deps?: { sendSlack?: typeof sendMessageSlack } | null;
replyToId?: string | null;