Skip to content

Commit

Permalink
chore: fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: divdeploy <chenguangxue@outlook.com>
  • Loading branch information
divdeploy authored and jsumners committed Apr 5, 2024
1 parent 9c39e0f commit f197065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/types/pino.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,14 @@ log3.on('level-change', (lvl, val, prevLvl, prevVal, instance) => {
});

const clog3 = log3.child({}, { customLevels: { childLevel: 120 } })
// child inherit parant
// child inherit parent
clog3.myLevel('')
// child itself
clog3.childLevel('')
const cclog3 = clog3.child({}, { customLevels: { childLevel2: 130 } })
// child inherit root
cclog3.myLevel('')
// child inherit parant
// child inherit parent
cclog3.childLevel('')
// child itself
cclog3.childLevel2('')
Expand Down

0 comments on commit f197065

Please sign in to comment.