recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
11 lines (10 loc) • 344 B
TypeScript
import { RedisCommand } from './commands';
export interface RedisScriptConfig extends RedisCommand {
SCRIPT: string;
NUMBER_OF_KEYS?: number;
}
export interface SHA1 {
SHA1: string;
}
export declare function defineScript<S extends RedisScriptConfig>(script: S): S & SHA1;
export declare function scriptSha1(script: string): string;