Skip to content

Make options and level optional for TransportTargetOptions - #1769

Closed
KonradSwierczynski wants to merge 1 commit into
pinojs:mainfrom
KonradSwierczynski:master
Closed

Make options and level optional for TransportTargetOptions#1769
KonradSwierczynski wants to merge 1 commit into
pinojs:mainfrom
KonradSwierczynski:master

Conversation

@KonradSwierczynski

Copy link
Copy Markdown

Hey,
I saw that TypeScript requires options and level, while it seems I don't really need to provide them.
I've changed types in pino.d.ts so I don't need to do @ts-ignore.
Please take a look

@mcollina

mcollina commented Aug 4, 2023

Copy link
Copy Markdown
Member

Would you mind adding a test for this type change in https://github.com/pinojs/pino/tree/master/test/types? We use tsd

@KonradSwierczynski KonradSwierczynski closed this by deleting the head repository Dec 17, 2025
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