diff --git a/pino.d.ts b/pino.d.ts index 895bc4e39..b681ee8fe 100644 --- a/pino.d.ts +++ b/pino.d.ts @@ -80,7 +80,7 @@ interface LoggerExtras extends EventEmitter { * @param options: an options object that will override child logger inherited options. * @returns a child logger instance. */ - child(bindings: pino.Bindings, options?: ChildOptions): pino.Logger; + child(bindings: pino.Bindings, options?: ChildOptions): pino.Logger; /** * This can be used to modify the callback function on creation of a new child.