parameter of createChannel method is optional (#43273)

This commit is contained in:
Andrey Trebler 2020-03-31 03:16:10 +02:00 committed by GitHub
parent bcd52d08ab
commit 649f32a864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ export interface AmqpConnectionManager extends EventEmitter {
* Create a new ChannelWrapper. This is a proxy for the actual channel (which may or may not exist at any moment, depending on whether or not we are currently connected.)
* @param opts
*/
createChannel(opts: CreateChannelOpts): ChannelWrapper;
createChannel(opts?: CreateChannelOpts): ChannelWrapper;
/**
* Returns true if the AmqpConnectionManager is connected to a broker, false otherwise.