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

refactor: default transport in type #5188

Merged
merged 2 commits into from
Sep 14, 2024

Conversation

nayounsang
Copy link
Contributor

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

ah! I tried to specify transports, but it doesn't autocomplete.
Because current type of transport is string[].
I have to check JSDOC to see ['polling','websocket', 'webtransport'].

New behavior

Be comfortable with auto-completion without typos.

Other information (e.g. related issues)

#5187

@darrachequesne darrachequesne merged commit b5ccfd4 into socketio:main Sep 14, 2024
2 checks passed
@darrachequesne
Copy link
Member

@nayounsang thanks!

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