We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6c4b3 commit 287f5dfCopy full SHA for 287f5df
redis.ts
@@ -1922,8 +1922,8 @@ class RedisImpl implements Redis {
1922
consumer?: string,
1923
) {
1924
const args = [];
1925
- args.push(startEndCount.start);
1926
- args.push(startEndCount.end);
+ args.push(xidstr(startEndCount.start));
+ args.push(xidstr(startEndCount.end));
1927
args.push(startEndCount.count);
1928
1929
if (consumer) {
stream.ts
@@ -137,8 +137,8 @@ export interface XPendingCount {
137
* args must be specified if _any_ are specified.
138
*/
139
export interface StartEndCount {
140
- start: number | "-";
141
- end: number | "+";
+ start: XIdNeg;
+ end: XIdPos;
142
count: number;
143
}
144
0 commit comments