Skip to content

Commit

Permalink
Update MSET.ts
Browse files Browse the repository at this point in the history
Removed unused RedisCommandArguments
  • Loading branch information
rowantrollope committed Aug 30, 2023
1 parent 43969a3 commit 0093eb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/json/lib/commands/MSET.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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';

Expand Down

0 comments on commit 0093eb0

Please sign in to comment.