Skip to content

Commit

Permalink
Correctly set sendMessage response to "string". Closes smrchy#99
Browse files Browse the repository at this point in the history
  • Loading branch information
smrchy committed Dec 30, 2019
1 parent 8e29daa commit 584c5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ declare class RedisSMQ {
setQueueAttributes(opts: RedisSMQ.SetQueueAttributesOptions, cb: RedisSMQ.Callback<RedisSMQ.QueueAttributes>): void;
setQueueAttributesAsync(opts: RedisSMQ.SetQueueAttributesOptions): Promise<RedisSMQ.QueueAttributes>;

sendMessage(opts: RedisSMQ.SendMessageOptions, cb: RedisSMQ.Callback<number>): void;
sendMessageAsync(opts: RedisSMQ.SendMessageOptions): Promise<number>;
sendMessage(opts: RedisSMQ.SendMessageOptions, cb: RedisSMQ.Callback<string>): void;
sendMessageAsync(opts: RedisSMQ.SendMessageOptions): Promise<string>;
receiveMessage(opts: RedisSMQ.ReceiveMessageOptions, cb: RedisSMQ.Callback<RedisSMQ.QueueMessage|{}>): void;
receiveMessageAsync(opts: RedisSMQ.ReceiveMessageOptions): Promise<RedisSMQ.QueueMessage|{}>;
popMessage(opts: RedisSMQ.PopMessageOptions, cb: RedisSMQ.Callback<RedisSMQ.QueueMessage|{}>): void;
Expand Down

0 comments on commit 584c5fd

Please sign in to comment.