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
When using the @octokit/webhooks library, I'm managing the webhooks HTTP receiving through an external HTTP library for granular control.
With that being said, I'm still using the built-in EventHandler by invoking createEventHandler.
But, I want it in a typed property, which isn't exposed directly from the index.ts - and instead has to be imported this way:
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
That is actually wrong. The type parameter isn't needed if you aren't adding properties to the event.
It's supposed to be used as the type of an object of which you are extending the default webhooks event with.
Describe the need
When using the
@octokit/webhooks
library, I'm managing the webhooks HTTP receiving through an external HTTP library for granular control.With that being said, I'm still using the built-in
EventHandler
by invokingcreateEventHandler
.But, I want it in a typed property, which isn't exposed directly from the
index.ts
- and instead has to be imported this way:And later used as:
SDK Version
Latest
API Version
Latest
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: