import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/json.arrindex * @see node_modules/@upstash/redis/docs/commands/json/arrindex.mdx */ export class JsonArrIndexCommand extends Command<(null | string)[], (null | number)[]> { constructor( cmd: [key: string, path: string, value: TValue, start?: number, stop?: number], opts?: CommandOptions<(null | string)[], (null | number)[]> ) { super(["JSON.ARRINDEX", ...cmd], opts); } }