fix: narrow Slack outbound blocks opt type
This commit is contained in:
parent
17c954c46e
commit
0f290fe6d6
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user