Skip to content

Commit

Permalink
Merge pull request #311 from microwavekonijn/master
Browse files Browse the repository at this point in the history
fix: exporting ChannelWrapper as a type without it getting emitted as metadata
  • Loading branch information
jwalton authored Dec 31, 2022
2 parents 847085a + a6f7b5c commit 7165811
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 7165811

Please sign in to comment.