import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/json.arrpop * @see node_modules/@upstash/redis/docs/commands/json/arrpop.mdx */ export class JsonArrPopCommand extends Command<(null | string)[], (TData | null)[]> { constructor( cmd: [key: string, path?: string, index?: number], opts?: CommandOptions<(null | string)[], (TData | null)[]> ) { super(["JSON.ARRPOP", ...cmd], opts); } }