1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/client/lib/commands/PEXPIRE.ts
2021-12-20 14:47:51 -05:00

13 lines
359 B
TypeScript

import { RedisCommandArgument, RedisCommandArguments } from '.';
export const FIRST_KEY_INDEX = 1;
export function transformArguments(
key: RedisCommandArgument,
milliseconds: number
): RedisCommandArguments {
return ['PEXPIRE', key, milliseconds.toString()];
}
export { transformBooleanReply as transformReply } from './generic-transformers';