From 1db3cfac218038ef6488b1d0ebfb378920324371 Mon Sep 17 00:00:00 2001 From: Matheus Peviani Vellone Date: Wed, 3 May 2023 08:59:53 -0300 Subject: [PATCH] fix(type): add child method default generic type --- pino.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.