JSPM

  • Created
  • Published
  • Downloads 3679721
  • Score
    100M100P100Q200827F
  • License MIT

Shared type definitions for the Node Slack SDK

Package Exports

  • @slack/types
  • @slack/types/dist/block-kit/blocks
  • @slack/types/dist/block-kit/blocks.js
  • @slack/types/dist/block-kit/composition-objects
  • @slack/types/dist/block-kit/composition-objects.js
  • @slack/types/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@slack/types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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