1
0
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:
leibale
2021-10-11 17:18:41 -04:00
parent d7026f619e
commit 13d44147db
106 changed files with 1735 additions and 1828 deletions

View File

@@ -1,4 +1,4 @@
import { TransformArgumentsReply } from '.';
import { RedisCommandArguments } from '.';
export const FIRST_KEY_INDEX = 1;
@@ -40,7 +40,7 @@ interface SetCommonOptions {
type SetOptions = SetTTL & SetGuards & (SetCommonOptions | {});
export function transformArguments(key: string | Buffer, value: string | Buffer, options?: SetOptions): TransformArgumentsReply {
export function transformArguments(key: string | Buffer, value: string | Buffer, options?: SetOptions): RedisCommandArguments {
const args = ['SET', key, value];
if (!options) {