From d05696aa6ea4f488b4013f4dd2c5ac90bc7a5c80 Mon Sep 17 00:00:00 2001 From: Oleg Repin Date: Fri, 8 Dec 2017 18:39:56 +0300 Subject: [PATCH] [redis] fix BRPOPLPUSH callback --- types/redis/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/redis/index.d.ts b/types/redis/index.d.ts index 00029fe2d3..554cc5bc23 100644 --- a/types/redis/index.d.ts +++ b/types/redis/index.d.ts @@ -250,8 +250,8 @@ export interface Commands { /** * Pop a value from a list, push it to another list and return it; or block until one is available. */ - brpoplpush(source: string, destination: string, timeout: number, cb?: Callback<[string, string]>): R; - BRPOPLPUSH(source: string, destination: string, timeout: number, cb?: Callback<[string, string]>): R; + brpoplpush(source: string, destination: string, timeout: number, cb?: Callback): R; + BRPOPLPUSH(source: string, destination: string, timeout: number, cb?: Callback): R; /** * ADDSLOTS - Assign new hash slots to receiving node.