You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fix GEO* commands
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { CommandArguments, RedisArgument, NumberReply, Command } from '../RESP/types';
|
||||
import { GeoCoordinates } from './generic-transformers';
|
||||
import { RedisArgument, CommandArguments, NumberReply, Command } from '../RESP/types';
|
||||
import { GeoCoordinates } from './GEOSEARCH';
|
||||
|
||||
interface GeoMember extends GeoCoordinates {
|
||||
export interface GeoMember extends GeoCoordinates {
|
||||
member: RedisArgument;
|
||||
}
|
||||
|
||||
interface GeoAddOptions {
|
||||
condition: 'NX' | 'XX';
|
||||
export interface GeoAddOptions {
|
||||
condition?: 'NX' | 'XX';
|
||||
/**
|
||||
* @deprecated Use `{ condition: 'NX' }` instead.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user