Skip to content

Commit

Permalink
remove publish definition (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
y-nk authored Sep 16, 2024
1 parent b5dec74 commit 7c05a48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rabbitmq/src/amqp/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,10 @@ export class AmqpConnection {
return consumerTag;
}

public publish<T = any>(
public publish(
exchange: string,
routingKey: string,
message: T,
message: any,
options?: Options.Publish
): Promise<boolean> {
let buffer: Buffer;
Expand Down

0 comments on commit 7c05a48

Please sign in to comment.