diff --git a/src/index.ts b/src/index.ts index e0e566fe..3b932a23 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,7 +12,7 @@ export type { SetupFunc, CreateChannelOpts, default as ChannelWrapper } from './ export function connect( urls: string[], - options: AmqpConnectionManagerOptions + options?: AmqpConnectionManagerOptions ): IAmqpConnectionManager { return new AmqpConnectionManager(urls, options); }