UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

14 lines (13 loc) • 447 B
import { ChainableCommander } from "./utils/RedisCommander"; export interface Transaction { pipeline(commands?: unknown[][]): ChainableCommander; multi(options: { pipeline: false; }): Promise<"OK">; multi(): ChainableCommander; multi(options: { pipeline: true; }): ChainableCommander; multi(commands?: unknown[][]): ChainableCommander; } export declare function addTransactionSupport(redis: any): void;