Skip to content

Commit d084bfc

Browse files
authored
docs(types): fix markdown block type annotation (#2298)
1 parent e694d58 commit d084bfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/types/src/block-kit/blocks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ export interface InputBlock extends Block {
250250
* @description This block can be used with AI apps when you expect a markdown response from an LLM that can get lost in
251251
* translation rendering in Slack. Providing it in a markdown block leaves the translating to Slack to ensure your message
252252
* appears as intended. Note that passing a single block may result in multiple blocks after translation.
253-
* @see {@link https://api.slack.com/reference/block-kit/blocks#markdown Markdown block reference}
253+
* @see {@link https://api.slack.com/reference/block-kit/blocks#markdown Markdown block reference}.
254254
*/
255255
export interface MarkdownBlock extends Block {
256256
/**
257-
* @description The type of block. For a markdown block, `type` is always `input`.
257+
* @description The type of block. For a markdown block, `type` is always `markdown`.
258258
*/
259259
type: 'markdown';
260260
/**

0 commit comments

Comments
 (0)