import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/zremrangebyscore * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebyscore.mdx */ export class ZRemRangeByScoreCommand extends Command { constructor( cmd: [ key: string, min: number | `(${number}` | "-inf" | "+inf", max: number | `(${number}` | "-inf" | "+inf", ], opts?: CommandOptions ) { super(["zremrangebyscore", ...cmd], opts); } }