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

Update Bottleneck event emitters method types to return the instance #165

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dobesv
Copy link
Contributor

@dobesv dobesv commented Aug 20, 2020

EventEmitter instances are expected to return the event emitter itself from on and once. Bottleneck does this already, but the TypeScript definitions did not reflect this.

Fixes #164

EventEmitter instances are expected to return the event emitter itself from `on` and `once`.  Bottleneck does this already, but the TypeScript definitions did not reflect this.
@dobesv dobesv changed the title Update Bottleneck event emitters methods to return the instance Update Bottleneck event emitters method types to return the instance Aug 20, 2020
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.

Not compatible with node.js "once"
1 participant