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

feat(ts): loosening up the IncomingMessage and ServerResponse typings #295

Merged
merged 1 commit into from
Sep 4, 2023

Commits on Aug 30, 2023

  1. feat(ts): loosening up the IncomingMessage and ServerResponse typings

    The typings on the various instances of `IncomingMessage` and `ServerResponse`
    are too strict when coupled with Express and Fastify `Request` instances that
    have been extended for custom properties. This loosens them up by allowing the
    main `pino` instance to be supplied a generic of the Request and Response
    interfaces that you use in your application.
    
    Fixes pinojs#294
    erunion committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    8b3e277 View commit details
    Browse the repository at this point in the history