1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

ref #2521 - fix EVAL FIRST_KEY_INDEX

This commit is contained in:
Leibale Eidelman
2023-07-06 20:59:12 -04:00
committed by GitHub
parent a7d5bc7ca4
commit 2750e492e3

View File

@@ -404,7 +404,7 @@ export interface EvalOptions {
arguments?: Array<string>; arguments?: Array<string>;
} }
export function evalFirstKeyIndex(options?: EvalOptions): string | undefined { export function evalFirstKeyIndex(_: unknown, options?: EvalOptions): string | undefined {
return options?.keys?.[0]; return options?.keys?.[0];
} }