UserChangeEvent.user.updated should be typed as a number #1320
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
Milestone
Description
The attribute UserChangeEvent.user.updated here:
https://github.com/slackapi/bolt-js/blob/main/src/types/events/base-events.ts#L796
should have the type number, as it is in web-api definition:
https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/response/UsersListResponse.ts#L41
(Also, as mentioned by a TODO, UserChangeEvent.user definition should probably be shared with TeamJoin.user, short of pulling the definition from web-api. But I guess this is a larger change).
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: