Closed chernodub closed 2 weeks ago
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests. We use tsd
for the types.
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests. We use
tsd
for the types.
Yep, already submitted the PR https://github.com/pinojs/pino/pull/1999 :)
Currently, pino's TS declaration allows using default log levels when
useOnlyCustomLevels
istrue
. This following code will result in a runtime error:Expected behavior: