From 7c05a483c412437fbb16d635a69d0d60b21bf475 Mon Sep 17 00:00:00 2001 From: Julien Barbay Date: Mon, 16 Sep 2024 22:34:23 +0700 Subject: [PATCH] remove publish definition (#784) --- packages/rabbitmq/src/amqp/connection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rabbitmq/src/amqp/connection.ts b/packages/rabbitmq/src/amqp/connection.ts index 149a6f5fc..3824eeaf3 100644 --- a/packages/rabbitmq/src/amqp/connection.ts +++ b/packages/rabbitmq/src/amqp/connection.ts @@ -624,10 +624,10 @@ export class AmqpConnection { return consumerTag; } - public publish( + public publish( exchange: string, routingKey: string, - message: T, + message: any, options?: Options.Publish ): Promise { let buffer: Buffer;