Task Init
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user