You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
add missing FIRST_KEY_INDEX (#2028)
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
||||
import { GeoCoordinates } from './generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
interface GeoMember extends GeoCoordinates {
|
||||
member: RedisCommandArgument;
|
||||
}
|
||||
@ -21,8 +23,6 @@ interface GeoAddCommonOptions {
|
||||
|
||||
type GeoAddOptions = SetGuards & GeoAddCommonOptions;
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
export function transformArguments(
|
||||
key: RedisCommandArgument, toAdd: GeoMember | Array<GeoMember>,
|
||||
options?: GeoAddOptions
|
||||
|
Reference in New Issue
Block a user