slackapi / deno-slack-api

Slack API Client for Deno Run on Slack projects
https://api.slack.com/automation
MIT License
35 stars 17 forks source link

Shared channel trigger events have optional `channel_ids` #70

Closed WilliamBergamin closed 1 year ago

WilliamBergamin commented 1 year ago

Summary

This PR sets the channel_ids field of the shared_channel_invite_* event triggers as optional.

Before

TS error would appear ezgif com-video-to-gif (1)

After

ezgif com-video-to-gif

NOTE: Can't think of a good way to test this since there is no strong type inference

Requirements (place an x in each [ ])

codecov[bot] commented 1 year ago

Codecov Report

Merging #70 (7f52e37) into main (2e61dc0) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #70   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          141       141           
  Branches         9         9           
=========================================
  Hits           141       141           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more