Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back pino-related typings on IncomingMessage, OutgoingMessage and… #186

Merged
merged 2 commits into from
Nov 28, 2021

Conversation

oddeirik
Copy link
Contributor

… ServerResponse.

Also fixed a test that fails on Windows (no /dev/null available, will print to STDOUT instead).

Ref. #175.
These additional typings are included in the @types/pino-http, so I just added them back in.

… ServerResponse.

Fix a test that fails on Windows.
Copy link
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.

@kibertoad can you review?

index.d.ts Outdated
@@ -1,4 +1,4 @@
// Type definitions for pino-http 6.0
// Type definitions for pino-http 6.x
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove this line

Copy link
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.

lgtm

@mcollina mcollina merged commit 1b2c92d into pinojs:master Nov 28, 2021
@oddeirik oddeirik deleted the fix-ts-typings branch November 29, 2021 08:07
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.

None yet

3 participants