diff --git a/types/amqp-connection-manager/index.d.ts b/types/amqp-connection-manager/index.d.ts index 60cc1ec6cb..62db649444 100644 --- a/types/amqp-connection-manager/index.d.ts +++ b/types/amqp-connection-manager/index.d.ts @@ -114,11 +114,6 @@ export interface AmqpConnectionManager extends EventEmitter { * Close this AmqpConnectionManager and free all associated resources. */ close(): Promise; - - /** - * Returns a Promise which resolves when this channel next connects. - */ - waitForConnect(): Promise; } export interface ChannelWrapper extends EventEmitter { @@ -211,4 +206,9 @@ export interface ChannelWrapper extends EventEmitter { * Close a channel, clean up resources associated with it. */ close(): Promise; + + /** + * Returns a Promise which resolves when this channel next connects. + */ + waitForConnect(): Promise; }