1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/client/lib/commands/ECHO.ts
Leibale 9faa3e77c4 WIP
2023-04-23 07:56:15 -04:00

10 lines
289 B
TypeScript

import { RedisArgument, BlobStringReply, Command } from '../RESP/types';
export default {
IS_READ_ONLY: true,
transformArguments(message: RedisArgument) {
return ['ECHO', message];
},
transformReply: undefined as unknown as () => BlobStringReply
} as const satisfies Command;