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
322 B
TypeScript
14 lines
322 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
export function transformArguments(bits?: number): RedisCommandArguments {
|
|
const args = ['ACL', 'GENPASS'];
|
|
|
|
if (bits) {
|
|
args.push(bits.toString());
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): RedisCommandArgument;
|