diff --git a/lib/index.ts b/lib/index.ts index 1e1e83e..9488c47 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -140,7 +140,7 @@ async function createQueue( export function createAdapter( snsClient: SNS, sqsClient: SQS, - opts: AdapterOptions & ClusterAdapterOptions + opts: AdapterOptions & ClusterAdapterOptions = {} ) { let isClosed = false; let _topicArn: string;