diff --git a/src/index.ts b/src/index.ts index cea94cf..e84483d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,3 +5,6 @@ export { NProducer } from "./lib/nProducer"; export { ConsumerMock } from "./mock/consumer.mock"; export { ProducerMock } from "./mock/producer.mock"; + +export * from "./types"; +export { Message } from "node-rdkafka"; diff --git a/src/types.ts b/src/types.ts index 32f6790..ae201ad 100644 --- a/src/types.ts +++ b/src/types.ts @@ -29,6 +29,4 @@ export enum CompressionTypes { Snappy = 2, LZ4 = 3, ZSTD = 4, -} - -export { Message } from "node-rdkafka"; +} \ No newline at end of file