Skip to content

RedisClient Error when delete multiple key #19922

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

Open
docaohuynhcse opened this issue May 26, 2025 · 0 comments
Open

RedisClient Error when delete multiple key #19922

docaohuynhcse opened this issue May 26, 2025 · 0 comments
Labels
bug Something isn't working redis Something to do with `redis` in the "bun" module types An issue with TypeScript types

Comments

@docaohuynhcse
Copy link

docaohuynhcse commented May 26, 2025

What version of Bun is running?

1.2.14

What platform is your computer?

Darwin 24.4.0 arm64 arm

What steps can reproduce the bug?

A spread argument must either have a tuple type or be passed to a rest parameter.ts(2556)

const keys = ['key1', 'key2', 'key3']; // Example keys, replace with actual keys from redis.keys
if (keys.length > 0) {
   // type error here 
    await redis.del(...keys);
}

What is the expected behavior?

Do not show type check error

What do you see instead?

No response

Additional information

No response

@docaohuynhcse docaohuynhcse added bug Something isn't working types An issue with TypeScript types labels May 26, 2025
@docaohuynhcse docaohuynhcse changed the title RedisClient RedisClient Error when delete multiple key May 26, 2025
@github-actions github-actions bot added the redis Something to do with `redis` in the "bun" module label May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working redis Something to do with `redis` in the "bun" module types An issue with TypeScript types
Projects
None yet
Development

No branches or pull requests

1 participant