Skip to content

Commit 7165811

Browse files
authored
Merge pull request #311 from microwavekonijn/master
fix: exporting ChannelWrapper as a type without it getting emitted as metadata
2 parents 847085a + a6f7b5c commit 7165811

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/index.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@ import AmqpConnectionManager, {
44
ConnectionUrl,
55
IAmqpConnectionManager,
66
} from './AmqpConnectionManager.js';
7-
import { PublishOptions } from './ChannelWrapper.js';
7+
import CW, { PublishOptions } from './ChannelWrapper.js';
88

99
export type {
1010
AmqpConnectionManagerOptions,
1111
ConnectionUrl,
1212
IAmqpConnectionManager as AmqpConnectionManager,
1313
} from './AmqpConnectionManager.js';
14-
export type {
15-
CreateChannelOpts,
16-
default as ChannelWrapper,
17-
SetupFunc,
18-
Channel,
19-
} from './ChannelWrapper.js';
14+
export type { CreateChannelOpts, SetupFunc, Channel } from './ChannelWrapper.js';
15+
export type ChannelWrapper = CW;
2016

2117
import { Options as AmqpLibOptions } from 'amqplib';
2218

0 commit comments

Comments
 (0)