Skip to content

Add missing exports #177

@anti-held-333

Description

@anti-held-333

Currently the AMQPGeneratorConsumer isn't exported.
For better typing it would be necessary to export it as well.

The index.ts needs to be adapted like that:

export { AMQPClient } from "./amqp-socket-client.js"
export { AMQPWebSocketClient } from "./amqp-websocket-client.js"
export { AMQPChannel, QueueOk, MessageCount, QueueParams, ExchangeParams, ConsumeParams } from "./amqp-channel.js"
export { AMQPQueue } from "./amqp-queue.js"
export { AMQPConsumer, AMQPGeneratorConsumer } from "./amqp-consumer.js" // Add the export here!
export { AMQPError } from "./amqp-error.js"
export { AMQPMessage } from "./amqp-message.js"
export { AMQPProperties, Field } from "./amqp-properties.js"
export { AMQPTlsOptions } from "./amqp-tls-options.js"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions