mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
amqp: Fix compile error (#19184)
This commit is contained in:
1
types/amqp/index.d.ts
vendored
1
types/amqp/index.d.ts
vendored
@@ -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