@slack/types
TypeScript icon, indicating that this package has built-in type declarations

2.11.0 • Public • Published

Slack Types

The @slack/types package is intended to be used as a central location for modeling Slack interfaces, types, payloads and constructs of all kinds.

Requirements

This package supports Node v18 and higher. It's highly recommended to use the latest LTS version of node, and the documentation is written using syntax and features from that version.

Installation

$ npm install @slack/types

Usage

This package exports many different types and interfaces. It is best to peruse the source code to see what is available, but a brief list:

  • Block Kit blocks and elements (./src/block-kit/*)
  • Message attachments (./src/message-attachments.ts)

Getting Help

If you get stuck, we're here to help. The following are the best ways to get assistance working through your issue:

  • Issue Tracker for questions, feature requests, bug reports and general discussion related to this package. Try searching before you create a new issue.
  • Email us in Slack developer support: developers@slack.com

Package Sidebar

Install

npm i @slack/types

Weekly Downloads

2,151,421

Version

2.11.0

License

MIT

Unpacked Size

104 kB

Total Files

42

Last publish

Collaborators

  • e-zim
  • filmaj
  • srajiang88
  • slackhq
  • ajm
  • stevegill
  • slack_biztech
  • seratch
  • misscoded
  • mwbrooks