mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
parameter of createChannel method is optional (#43273)
This commit is contained in:
parent
bcd52d08ab
commit
649f32a864
2
types/amqp-connection-manager/index.d.ts
vendored
2
types/amqp-connection-manager/index.d.ts
vendored
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user