Skip to content
New issue

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

fix(typescript): resolve correct value for BaseWebhookEvent#name #435

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

G-Rath
Copy link
Member

@G-Rath G-Rath commented Feb 3, 2021

This was actually a lot easier than I expected, but it makes total sense in hindsight.

This does put our minimal TypeScript version at 4.1 or higher - personally I don't have a problem with this, especially since we consider TypeScript changes to be non-breaking, but worth mentioning.

Fixes #431

@G-Rath G-Rath added the Type: Bug Something isn't working as documented, or is being fixed label Feb 3, 2021
@G-Rath G-Rath requested review from gr2m and wolfy1339 February 3, 2021 21:51
@oscard0m oscard0m added the typescript Relevant to TypeScript users only label Feb 3, 2021
oscard0m
oscard0m previously approved these changes Feb 3, 2021
wolfy1339
wolfy1339 previously approved these changes Feb 3, 2021
@G-Rath G-Rath dismissed stale reviews from wolfy1339 and oscard0m via b59a12a February 3, 2021 23:03
@G-Rath G-Rath requested review from oscard0m and wolfy1339 February 3, 2021 23:04
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love the TypeScript tests, very cool!

@G-Rath
Copy link
Member Author

G-Rath commented Feb 4, 2021

love the TypeScript tests, very cool!

Yeah they're actually really nice - I think they're the way to go for testing typescript in other repos.


Since everyones approved, I'm guessing we're happy requiring >= 4.1 for Typescript - I'll merge this in an hour or so in case anyone wants to change their mind, but otherwise will 🚀 on

@gr2m
Copy link
Contributor

gr2m commented Feb 4, 2021

happy requiring >= 4.1 for Typescript

yes. And if anyone complaints, send them my way 😜

@G-Rath G-Rath merged commit aaec66e into master Feb 4, 2021
@G-Rath G-Rath deleted the adjust-types branch February 4, 2021 00:22
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2021

🎉 This PR is included in version 7.24.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented, or is being fixed typescript Relevant to TypeScript users only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

event.name type/value disagreement
4 participants