mmkal / handy-redis

A wrapper around node_redis with Promise and TypeScript support.
Apache License 2.0
172 stars 10 forks source link

zrevrangebyscore functions return unknown[] where zrangebyscore functions return string[] #289

Closed AndrewMSHowe closed 3 years ago

AndrewMSHowe commented 3 years ago

Both zrangebyscore overloads return Result<Array<string>, Context>; Both zrevrangebyscore overloads return Result<Array<unknown>, Context>;

I think zrevrangebyscore should return strings by symmetry.