diff --git a/pino.d.ts b/pino.d.ts index 8e7fe6ea9..09bef8a94 100644 --- a/pino.d.ts +++ b/pino.d.ts @@ -586,7 +586,7 @@ declare namespace pino { * All arguments passed to the log method, except the message, will be pass to this function. * By default it does not change the shape of the log object. */ - log?: (object: object) => object; + log?: (object: Record) => Record; }; /**