import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/bitpos * @see node_modules/@upstash/redis/docs/commands/bitmap/bitpos.mdx */ export class BitPosCommand extends Command { constructor( cmd: [key: string, bit: 0 | 1, start?: number, end?: number], opts?: CommandOptions ) { super(["bitpos", ...cmd], opts); } }