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

Update MSET.ts

Removed unused RedisCommandArguments
This commit is contained in:
Rowan Trollope
2023-08-29 19:51:06 -07:00
parent 43969a3f38
commit 0093eb007f

View File

@ -1,5 +1,5 @@
import { RedisJSON, transformRedisJsonArgument } from '.';
import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
import { RedisCommandArgument } from '@redis/client/dist/lib/commands';
export const FIRST_KEY_INDEX = 1;
@ -10,6 +10,7 @@ interface JsonMSetItem {
}
export function transformArguments(items: Array<JsonMSetItem>): Array<string> {
const args = new Array(1 + items.length * 3);
args[0] = 'JSON.MSET';