Skip to content

Commit

Permalink
fix: exporting ChannelWrapper as a type without it getting emitted as…
Browse files Browse the repository at this point in the history
… metadata
  • Loading branch information
microwavekonijn committed Dec 31, 2022
1 parent 847085a commit a6f7b5c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@ import AmqpConnectionManager, {
ConnectionUrl,
IAmqpConnectionManager,
} from './AmqpConnectionManager.js';
import { PublishOptions } from './ChannelWrapper.js';
import CW, { PublishOptions } from './ChannelWrapper.js';

export type {
AmqpConnectionManagerOptions,
ConnectionUrl,
IAmqpConnectionManager as AmqpConnectionManager,
} from './AmqpConnectionManager.js';
export type {
CreateChannelOpts,
default as ChannelWrapper,
SetupFunc,
Channel,
} from './ChannelWrapper.js';
export type { CreateChannelOpts, SetupFunc, Channel } from './ChannelWrapper.js';
export type ChannelWrapper = CW;

import { Options as AmqpLibOptions } from 'amqplib';

Expand Down

0 comments on commit a6f7b5c

Please sign in to comment.