import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/geodist */ export class GeoDistCommand extends Command { constructor( [key, member1, member2, unit = "M"]: [ key: string, member1: TMemberType, member2: TMemberType, unit?: "M" | "KM" | "FT" | "MI", ], opts?: CommandOptions ) { super(["GEODIST", key, member1, member2, unit], opts); } }