From 11e6622d999267af53290b89b2117cd0effb2c73 Mon Sep 17 00:00:00 2001 From: Edoe Tsur Date: Sun, 8 Sep 2024 12:29:31 +0300 Subject: [PATCH] type exports --- src/index.ts | 3 +++ src/types.ts | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) 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