You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-13 10:02:24 +03:00
remove some commands from cluster, npm update, clean code,
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { TransformArgumentsReply } from '.';
|
||||
import { RedisCommandArguments } from '.';
|
||||
import { transformEXAT, transformPXAT } from './generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
@@ -15,7 +15,7 @@ type GetExModes = {
|
||||
PERSIST: true;
|
||||
};
|
||||
|
||||
export function transformArguments(key: string, mode: GetExModes): TransformArgumentsReply {
|
||||
export function transformArguments(key: string, mode: GetExModes): RedisCommandArguments {
|
||||
const args = ['GETEX', key];
|
||||
|
||||
if ('EX' in mode) {
|
||||
|
Reference in New Issue
Block a user