You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
12 lines
234 B
TypeScript
12 lines
234 B
TypeScript
export function transformArguments(mode?: 'ASYNC' | 'SYNC'): Array<string> {
|
|
const args = ['SCRIPT', 'FLUSH'];
|
|
|
|
if (mode) {
|
|
args.push(mode);
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): string;
|