mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
amqp: Fix compile error (#19184)
This commit is contained in:
Vendored
+1
@@ -49,6 +49,7 @@ export interface AMQPQueue extends events.EventEmitter {
|
||||
export interface AMQPExchange extends events.EventEmitter {
|
||||
on(event: 'open' | 'ack' | 'error' | 'exchangeBindOk' | 'exchangeUnbindOk', callback: Callback<void>): this;
|
||||
|
||||
publish(routingKey: string, message: Buffer | {}, callback: (err?: boolean, msg?: string) => void): void;
|
||||
publish(routingKey: string, message: Buffer | {}, options: ExchangePublishOptions, callback?: (err?: boolean, msg?: string) => void): void;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user