You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
13 lines
346 B
TypeScript
13 lines
346 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
export function transformArguments(message?: RedisCommandArgument): RedisCommandArguments {
|
|
const args: RedisCommandArguments = ['PING'];
|
|
if (message) {
|
|
args.push(message);
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): RedisCommandArgument;
|