1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
Files

17 lines
298 B
TypeScript

export enum RedisFlushModes {
ASYNC = 'ASYNC',
SYNC = 'SYNC'
}
export function transformArguments(mode?: RedisFlushModes): Array<string> {
const args = ['FLUSHALL'];
if (mode) {
args.push(mode);
}
return args;
}
export declare function transformReply(): string;