8000 fix: event type for use() by naseemkullah · Pull Request #4138 · socketio/socket.io · GitHub
[go: up one dir, main page]

Skip to content

fix: event type for use() #4138

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

Merged
merged 1 commit into from
Oct 24, 2021
Merged

Conversation

naseemkullah
Copy link
Contributor
@naseemkullah naseemkullah commented Oct 22, 2021

create Event type based on other uses where the first element is the event name and use it for use()

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behavior

use() had any[] for event arg type fn arg

New behavior

use() now has [eventName: string, ...args: any[]] for event arg type of fn arg

Other information (e.g. related issues)

create Event type based on other uses where the first element is the event
name and use it for use()
@darrachequesne darrachequesne merged commit 44e20ba into socketio:master Oct 24, 2021
@darrachequesne
Copy link
Member

@naseemkullah thanks 👍

@naseemkullah
Copy link
Contributor Author

@naseemkullah thanks 👍

My pleasure!

@naseemkullah naseemkullah deleted the patch-1 branch October 24, 2021 12:31
dzad pushed a commit to dzad/socket.io that referenced this pull request May 29, 2023
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.

2 participants
0