We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[❓question] Would have sense to use enums for event names?
enums
webhooks.js/index.d.ts
Lines 4402 to 4417 in 5ca6c8a
A use case where it would be valuable is to make sure the events to be listened webhooks.on([<eventName>]) are the right ones on compile time.
webhooks.on([<eventName>])
If you think is a valid proposal I would be more than happy to propose a pull-request for it! :)
The text was updated successfully, but these errors were encountered:
Yes, I think that'd be great!
Sorry, something went wrong.
I drafted a Pull Request to agree on the approach to follow to generate the enums, could someone take a look? Should I draft the PR over octokit?
Let me know which should be the approach
🎉 This issue has been resolved in version 7.8.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
[❓question] Would have sense to use
enums
for event names?webhooks.js/index.d.ts
Lines 4402 to 4417 in 5ca6c8a
A use case where it would be valuable is to make sure the events to be listened
webhooks.on([<eventName>])
are the right ones on compile time.If you think is a valid proposal I would be more than happy to propose a pull-request for it! :)
The text was updated successfully, but these errors were encountered: