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

Improve TypeScript types compatibility with p-event package #73

Merged
merged 4 commits into from
Jan 4, 2021

Conversation

airhorns
Copy link
Contributor

This is on top of #72 and replaces it. I pulled it down to see if I could find a simpler way that kept the overloads and one less weird generic-as-assignment thing, but I couldn't, I think @papb figured out the right way to fix this issue! I noticed one missing piece and added more type tests for it as well.

@papb
Copy link
Contributor

papb commented Jan 2, 2021

Nice! Thank you!

@sindresorhus sindresorhus changed the title P event compat take 2 Improve TypeScript types compatibility with p-event package Jan 4, 2021
@sindresorhus sindresorhus merged commit 30093fd into sindresorhus:master Jan 4, 2021
@airhorns airhorns deleted the p-event-compat branch January 4, 2021 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants