You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
344 B

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;