From ccb0ad734b83e1b18f7c51fd8e026778c36cf3ae Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 15 Sep 2022 15:19:38 +0200 Subject: [PATCH] add test --- test/types/pino.test-d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/types/pino.test-d.ts b/test/types/pino.test-d.ts index 57b8ca43c..3cebb85ad 100644 --- a/test/types/pino.test-d.ts +++ b/test/types/pino.test-d.ts @@ -229,7 +229,7 @@ const withNestedKey = pino({ const withHooks = pino({ hooks: { logMethod(args, method, level) { - return method.apply(this, ['msg', ...args]); + return method.apply(this, args); }, }, }); @@ -344,4 +344,4 @@ cclog3.childLevel2('') const withChildCallback = pino({ onChild: (child: Logger) => {} }) -withChildCallback.onChild = (child: Logger) => {} \ No newline at end of file +withChildCallback.onChild = (child: Logger) => {}