Add support for 'SCRIPT' command

The SCRIPT (SCRIPT [DEBUG, EXISTS, FLUSH, KILL, LOAD]) commands were not typed. This patch adds support.
This commit is contained in:
daggilli
2016-01-31 12:46:04 -06:00
parent 3d2f9971a1
commit bf4e9e9531

3
redis/redis.d.ts vendored
View File

@@ -359,6 +359,9 @@ declare module "redis" {
eval(...args:any[]): boolean;
evalsha(args:any[], callback?:ResCallbackT<any>): boolean;
evalsha(...args:any[]): boolean;
script(args:any[], callback?:ResCallbackT<any>): boolean;
script(...args: any[]): boolean;
script(key: string, callback?: ResCallbackT<any>): boolean;
quit(args:any[], callback?:ResCallbackT<any>): boolean;
quit(...args:any[]): boolean;
}