From d7edb982f403658573b1b44811b124e19ff8b820 Mon Sep 17 00:00:00 2001 From: meph Date: Mon, 11 Mar 2024 10:45:27 +0800 Subject: [PATCH] refactor: add autocomplete for ExchangeType --- src/amqp-channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amqp-channel.ts b/src/amqp-channel.ts index dfd3a46b..1ec06ccb 100644 --- a/src/amqp-channel.ts +++ b/src/amqp-channel.ts @@ -863,7 +863,7 @@ export type MessageCount = { messageCount: number } -export type ExchangeType = 'direct' | 'fanout' | 'topic' | 'headers' | string; +export type ExchangeType = 'direct' | 'fanout' | 'topic' | 'headers' | string & {}; export type ExchangeParams = { /**