1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
Leibale
2023-05-10 16:07:29 +03:00
parent 13f1fa9e58
commit 442a554fce
18 changed files with 276 additions and 225 deletions

View File

@@ -1,9 +1,10 @@
export const IS_READ_ONLY = true;
import { NumberReply, Command } from '../RESP/types';
export function transformArguments(): Array<string> {
export default {
FIRST_KEY_INDEX: undefined,
IS_READ_ONLY: true,
transformArguments() {
return ['LASTSAVE'];
}
export function transformReply(reply: number): Date {
return new Date(reply);
}
},
transformReply: undefined as unknown as () => NumberReply
} as const satisfies Command;