Skip to content

Commit

Permalink
Export type DDTransportOptions (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandotcom authored Jun 18, 2024
1 parent 49f7355 commit 047576b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/pino-datadog-transport/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import build from "pino-abstract-transport";
import { DataDogTransport, type DDTransportOptions } from "datadog-transport-common";
import { convertLevel } from "./convert-level";

export type { DDTransportOptions };

export default (options: DDTransportOptions) => {
const transport = new DataDogTransport(options);

Expand Down

0 comments on commit 047576b

Please sign in to comment.