import type { CommandOptions } from "./command"; import { Command } from "./command"; export type Type = "string" | "list" | "set" | "zset" | "hash" | "none"; /** * @see https://redis.io/commands/type * @see node_modules/@upstash/redis/docs/commands/generic/type.mdx */ export class TypeCommand extends Command { constructor(cmd: [key: string], opts?: CommandOptions) { super(["type", ...cmd], opts); } }