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

chore: allow null in several Protomux method options #763

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

EvanHahn
Copy link
Contributor

This is a types-only change.

Several Protomux methods support null IDs (pair, for example). This updates our type definitions to reflect that.

I think this is a useful change on its own, but may make upcoming changes easier too.

This is a types-only change.

Several Protomux methods support `null` IDs ([`pair`, for example][0]).
This updates our type definitions to reflect that.

I think this is a useful change on its own, but may make upcoming
changes easier too.

[0]: https://github.com/holepunchto/protomux/blob/50b98c93580002a7e32fb12eefe07493fc2a3ade/index.js#L371
@EvanHahn EvanHahn requested review from gmaclennan and achou11 and removed request for gmaclennan August 25, 2024 19:35
@EvanHahn EvanHahn merged commit e8e1d7a into main Aug 26, 2024
7 checks passed
@EvanHahn EvanHahn deleted the protomux-null-ids branch August 26, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants