theogravity / pino-datadog-transport

A pino v7+ transport for sending logs to Datadog
MIT License
14 stars 4 forks source link

Export the type DDTransportOptions #15

Closed gitSambhal closed 10 months ago

gitSambhal commented 1 year ago

Hi @theogravity Can you pls export the type DDTransportOptions from the package as currently nothing is exported from the package.

image
theogravity commented 1 year ago

Hi @theogravity

Can you pls export the type DDTransportOptions from the package as currently nothing is exported from the package.

image

Feel free to open a PR.

gitSambhal commented 10 months ago

I checked the current code and found that the type can be imported as follows:

import { DDTransportOptions } from 'pino-datadog-transport/build/process-logs';