Skip to content

TableBlock types: add RawNumberElement and consider typed cell/column_settings models #2689

Closed

Description

@zimeg

Summary

The TableBlock interface in @slack/types is missing the raw_number cell type documented at docs.slack.dev/reference/block-kit/blocks/table-block.

Currently rows is typed as (RichTextBlock | RawTextElement)[][] — but the docs state that table cells can have a type of rich_text, raw_text, or raw_number.

Feature request

  1. Add RawNumberElement — a new composition object type alongside RawTextElement:

    export interface RawNumberElement {
      type: 'raw_number';
      text: string;
    }
  2. Consider typed models for table cells and column_settings — right now column_settings is TableBlockColumnSettings[] (already typed), but the cell union could be more explicit about what each cell type accepts (e.g. rich_text cells have elements, raw_text/raw_number have text).

Reference

  • Table block docs — documents raw_number as a valid cell type
  • Current TableBlock definition: packages/types/src/block-kit/blocks.ts

Activity

  1. self-assigned this
    on Aug 5, 2026
  2. added
    enhancement
    pkg:types
    on Aug 5, 2026
  3. added
    needs info
    on Aug 5, 2026
  4. assigned and unassigned on Aug 5, 2026
  5. github-actions commented on Sep 7, 2026

    @github-actions
    Contributor

    👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

  6. modified the milestones: web-api@next, types@next on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

auto-triage-skipenhancementneeds infopkg:typessemver:minor

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions