Skip to content

Commit

Permalink
Fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
weyoss committed Jun 18, 2022
1 parent 02c353d commit cd8bf6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class DequeueMessage {
this.ticker = new Ticker(() => this.dequeue());
}

protected dequeueMessageWithPriority(cb: ICallback<string>): void {
protected dequeueMessageWithPriority(cb: ICallback<string | null>): void {
this.redisClient.zpophgetrpush(
this.redisKeys.keyQueuePendingPriorityMessageWeight,
this.redisKeys.keyQueuePendingPriorityMessages,
Expand Down

0 comments on commit cd8bf6a

Please sign in to comment.