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

Add ConnectionState type #756

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ahkhanjani
Copy link

A proposal for adding the union of connection states according to this docs page.

What does this PR do?

Adds the union type for all the different connection status strings. There could be more places that this is used. This is only a demonstration of my request.

Checklist

  • All new functionality has tests.
  • All tests are passing.
  • New or changed API methods have been documented.
  • npm run format has been run

CHANGELOG

  • [CHANGED] Describe your change here. Look at CHANGELOG.md to see the format.

A proposal for adding the union of connection states according to https://pusher.com/docs/channels/using_channels/connection/#available-states
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you'd like this issue to stay open please leave a comment indicating how this issue is affecting you. Thank you.

@stale stale bot added the wontfix label Mar 17, 2024
@ahkhanjani
Copy link
Author

This will add better typescript support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant