MessageEvent
incorrectly references the Node global MessageEvent type.
#2020
Labels
Milestone
MessageEvent
incorrectly references the Node global MessageEvent type.
#2020
Description
Describe your issue here.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Reproducible in:
package version: 2.13.0
node version: v20.12.1 (or higher)
OS version(s): Win 11
Steps to reproduce:
MessageEvent
type.Property 'attachments' does not exist on type 'MessageEvent<any>'.ts(2339)
error.Expected result:
No errors should occur.
Actual result:
MessageEvent
should actually readexport type MessageEvent = AllMessageEvents;
but instead it references the Node global MessageEvent type.Attachments:
I create PR later
The text was updated successfully, but these errors were encountered: