pino-pretty icon indicating copy to clipboard operation
pino-pretty copied to clipboard

Syntax error for the Jest example

Open vicusbass opened this issue 2 years ago • 1 comments

The documentation contains an example on how to use pino-pretty with Jest, setting the transport in sync mode. However, the example syntax seems invalid in TypeScript, see the attached screenshot. Using version 7.5.0

Screenshot 2022-01-21 at 13 50 11

vicusbass avatar Jan 21 '22 11:01 vicusbass

This is open https://github.com/pinojs/pino-pretty/pull/298 and waiting for a test.

mcollina avatar Jan 21 '22 13:01 mcollina