Closed jaredhan418 closed 10 months ago
suggest, add one line module.exports.PinoPretty= build
below to match current index.d.ts
https://github.com/pinojs/pino-pretty/blob/41fdd31b66506f862ad4ce3ca8a791408522bf8d/index.js#L170
Thanks for reporting! Would you like to send a Pull Request to address this issue?
Fixed in #484
TS always throw error cuz default function not as expect when import
pino-pretty
in dynamic way.