You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
18 lines
399 B
TypeScript
18 lines
399 B
TypeScript
export const IS_READ_ONLY = true;
|
|
|
|
export function transformArguments(version?: number, ...optionalArguments: Array<number>): Array<string> {
|
|
const args = ['LOLWUT'];
|
|
|
|
if (version) {
|
|
args.push(
|
|
'VERSION',
|
|
version.toString(),
|
|
...optionalArguments.map(String),
|
|
);
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): string;
|