1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Files
2021-11-29 08:52:14 -05:00

16 lines
499 B
TypeScript

import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
import { Timestamp, transformTimestampArgument } from '.';
export const FIRTS_KEY_INDEX = 1;
export function transformArguments(key: string, fromTimestamp: Timestamp, toTimestamp: Timestamp): RedisCommandArguments {
return [
'TS.DEL',
key,
transformTimestampArgument(fromTimestamp),
transformTimestampArgument(toTimestamp)
];
}
export declare function transformReply(): number;