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

Documentation: Example xread usage results in TS2769 No overload matches this call #1871

Open
charlesritchea opened this issue Mar 25, 2024 · 0 comments

Comments

@charlesritchea
Copy link

TypeScript error: const results = await redis.xread("block", 0, "STREAMS", "mystream", lastId);
No error: const results = await redis.xread("BLOCK", 0, "STREAMS", "mystream", lastId);
Looks like the type definitions require this to be the exact string

charlesritchea added a commit to charlesritchea/ioredis that referenced this issue Mar 25, 2024
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

No branches or pull requests

1 participant