1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
* fix #1959 - LCS

* newlines at end of files
This commit is contained in:
Leibale Eidelman
2022-05-11 14:24:07 -04:00
committed by GitHub
parent 24c2c867f8
commit 429b11e020
10 changed files with 288 additions and 0 deletions

View File

@@ -670,3 +670,20 @@ export function pushSlotRangesArguments(
return args;
}
export type RawRangeReply = [
start: number,
end: number
];
export interface RangeReply {
start: number;
end: number;
}
export function transformRangeReply([start, end]: RawRangeReply): RangeReply {
return {
start,
end
};
}