Skip to content

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 #5196, please only merge one of these! I created two PRs for the related issue, providing both suggested solutions. I personally prefer this one as it more cleanly encapsulates implementation details.

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.

# Conflicts:
#	packages/socket.io/lib/namespace.ts
#	packages/socket.io/lib/parent-namespace.ts
@ammut ammut mentioned this pull request Sep 24, 2024
5 tasks
@darrachequesne
Copy link
Member

Closed in favor of #5196.

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