mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
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:
3
redis/redis.d.ts
vendored
3
redis/redis.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user