1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

fix #1911 - CLIENT NO-EVICT (#2124)

This commit is contained in:
Leibale Eidelman
2022-05-11 09:36:23 -04:00
committed by GitHub
parent 06c1d2c243
commit 53a96ccce4
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { RedisCommandArguments } from '.';
export function transformArguments(value: boolean): RedisCommandArguments {
return [
'CLIENT',
'NO-EVICT',
value ? 'ON' : 'OFF'
];
}
export declare function transformReply(): 'OK' | Buffer;