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

fix: make Namespace._fns private #5196

Merged

Conversation

ammut
Copy link
Contributor

@ammut ammut commented Sep 24, 2024

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

Other information (e.g. related issues)

Issue: #5179

This is a variant for PR #5195, please only merge one of these! I created two PRs for the related issue, providing both suggested solutions. This one uses the index signature trick as suggested in the issue.

I tried adding a test to prevent regression, but didn't manage to reproduce the error that caused all this inside the socket.io test suite. I assume this is because we use a stricter TypeScript configuration in our own codebase, but didn't bother verifying it.

@ammut ammut mentioned this pull request Sep 24, 2024
5 tasks
@ammut ammut changed the title fix: make Namespace._fns real private fix: make Namespace._fns private Sep 24, 2024
@darrachequesne darrachequesne merged commit aead835 into socketio:main Oct 23, 2024
2 checks passed
@darrachequesne
Copy link
Member

@ammut 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