You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
14 lines
375 B
TypeScript
14 lines
375 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
export function transformArguments(categoryName?: RedisCommandArgument): RedisCommandArguments {
|
|
const args: RedisCommandArguments = ['ACL', 'CAT'];
|
|
|
|
if (categoryName) {
|
|
args.push(categoryName);
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): Array<RedisCommandArgument>;
|