You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like this approach, as due to this all other types collasce to any and we lose the strong typing. I think with this, we can event type the hook functions as Handler<E, U> instead of plain Function
Follow up to #180
I would reserve the
.on(event, handler)
method for actual events only, and define new methods for special events that are unique to@octokit/webhooks
.That will also address #302, because we would no longer need to define
*
anderror
as part of the overall event mapThe text was updated successfully, but these errors were encountered: