From aeb6be64a3be5e5767246e8670fc393ef92eefdf Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Fri, 11 Jul 2025 18:16:48 -0700 Subject: [PATCH 1/2] docs(types): fix markdown block type annotation --- packages/types/src/block-kit/blocks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/block-kit/blocks.ts b/packages/types/src/block-kit/blocks.ts index 9bf347e68..5529a598d 100644 --- a/packages/types/src/block-kit/blocks.ts +++ b/packages/types/src/block-kit/blocks.ts @@ -254,7 +254,7 @@ export interface InputBlock extends Block { */ export interface MarkdownBlock extends Block { /** - * @description The type of block. For a markdown block, `type` is always `input`. + * @description The type of block. For a markdown block, `type` is always `markdown`. */ type: 'markdown'; /** From 39ce29b81b975888d19dc9e12678ea5fd3dbe4fb Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Fri, 11 Jul 2025 18:21:58 -0700 Subject: [PATCH 2/2] docs: include a trailing period for the doc link too --- packages/types/src/block-kit/blocks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/block-kit/blocks.ts b/packages/types/src/block-kit/blocks.ts index 5529a598d..554ab4238 100644 --- a/packages/types/src/block-kit/blocks.ts +++ b/packages/types/src/block-kit/blocks.ts @@ -250,7 +250,7 @@ export interface InputBlock extends Block { * @description This block can be used with AI apps when you expect a markdown response from an LLM that can get lost in * translation rendering in Slack. Providing it in a markdown block leaves the translating to Slack to ensure your message * appears as intended. Note that passing a single block may result in multiple blocks after translation. - * @see {@link https://api.slack.com/reference/block-kit/blocks#markdown Markdown block reference} + * @see {@link https://api.slack.com/reference/block-kit/blocks#markdown Markdown block reference}. */ export interface MarkdownBlock extends Block { /**