amqp: Fix compile error (#19184)

This commit is contained in:
Andy
2017-08-21 17:59:44 -07:00
committed by GitHub
parent 97277642fe
commit 6f7d3452a9

View File

@@ -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;
/**