pino-pretty
pino-pretty copied to clipboard
Syntax error for the Jest example
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](https://user-images.githubusercontent.com/5689301/150523102-3f349713-0e25-4c3a-8567-12bc55b71754.png)
This is open https://github.com/pinojs/pino-pretty/pull/298 and waiting for a test.