Skip to content

Commit

Permalink
Merge pull request #109 from mephju/main
Browse files Browse the repository at this point in the history
refactor: add autocomplete for ExchangeType
  • Loading branch information
ThomasSarlin authored Apr 10, 2024
2 parents 53c620d + d7edb98 commit 57a2575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amqp-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
/**
Expand Down

0 comments on commit 57a2575

Please sign in to comment.