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 *Buffer methods typings for XCLAIM/XAUTOCLAIM/XREADGROUP/XPENDING #15

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

Conversation

SiarheiFedartsou
Copy link

After creating PR in original ioredis I realised that it is a bit "abondaned", so decided to create it in this fork.

@SiarheiFedartsou SiarheiFedartsou force-pushed the sf-streams-types branch 2 times, most recently from 67a8cb3 to b82b0bb Compare November 2, 2024 10:08
@SiarheiFedartsou SiarheiFedartsou marked this pull request as ready for review November 2, 2024 10:08
@SiarheiFedartsou SiarheiFedartsou marked this pull request as draft November 2, 2024 10:08
@SiarheiFedartsou SiarheiFedartsou marked this pull request as ready for review November 2, 2024 10:13
@@ -8580,6 +8580,46 @@ interface RedisCommander<Context extends ClientContext = { type: "default" }> {
callback?: Callback<unknown[]>
): Result<unknown[], Context>;

xautoclaimBuffer(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is simple copy-paste for non-buffer version typings - I assume it is okay, but let me know if it isn't...

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please avoid all the duplication? This seems very hard to maintain long term.

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