import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/getset * @see node_modules/@upstash/redis/docs/commands/string/getset.mdx */ export class GetSetCommand extends Command { constructor( cmd: [key: string, value: TData], opts?: CommandOptions ) { super(["getset", ...cmd], opts); } }