From c0c922b30a5d2267883e5475f938763c969242a4 Mon Sep 17 00:00:00 2001 From: Nikita Savchenko Date: Mon, 21 Aug 2023 21:49:10 +0200 Subject: [PATCH] Fix wrong type --- package.json | 2 +- src/Types/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4af30db..02e77e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-message-bus", - "version": "3.3.0", + "version": "3.3.1", "description": "Minimalistic and complete AMQP message bus implementation", "main": "lib/index.js", "files": [ diff --git a/src/Types/config.ts b/src/Types/config.ts index 61819e8..f089450 100644 --- a/src/Types/config.ts +++ b/src/Types/config.ts @@ -13,7 +13,7 @@ export interface ExchangeConfig { export interface QueueConfig { name: string; options?: Omit & { - deadLetterRoutingKey: string; + deadLetterRoutingKey?: string; }; }