Skip to content

Update pino.d.ts#1995

Open
miketamis wants to merge 1 commit intopinojs:mainfrom
miketamis:patch-1
Open

Update pino.d.ts#1995
miketamis wants to merge 1 commit intopinojs:mainfrom
miketamis:patch-1

Conversation

@miketamis
Copy link
Copy Markdown

Made it so you can't put objects after msg unless it has %s etc in it.

I keep making the mistake of putting the metadata object after the msg. This makes it so you can't do that unless you were intending on using the values in an interpreted output.

Made it so you can't put objects after msg unless it has %s etc in it.
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you a test for this? we use tsd for types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants