Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 15, 2022
1 parent 4874f0a commit ccb0ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/types/pino.test-d.ts
Expand Up @@ -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);
},
},
});
Expand Down Expand Up @@ -344,4 +344,4 @@ cclog3.childLevel2('')
const withChildCallback = pino({
onChild: (child: Logger) => {}
})
withChildCallback.onChild = (child: Logger) => {}
withChildCallback.onChild = (child: Logger) => {}

0 comments on commit ccb0ad7

Please sign in to comment.