Skip to content

Commit

Permalink
chore: remove unused type assertion (#5184)
Browse files Browse the repository at this point in the history
* chore: remove unused type assertion

* Bump pino to v8.17.0

Signed-off-by: Matteo Collina <hello@matteocollina.com>

---------

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>
Co-authored-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
3 people committed Dec 13, 2023
1 parent 1b588a0 commit b8f2d9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"fast-json-stringify": "^5.8.0",
"find-my-way": "^7.7.0",
"light-my-request": "^5.11.0",
"pino": "^8.16.0",
"pino": "^8.17.0",
"process-warning": "^3.0.0",
"proxy-addr": "^2.0.7",
"rfdc": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion test/types/request.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const customLogger: CustomLoggerInterface = {
trace: () => { },
debug: () => { },
foo: () => { }, // custom severity logger method
child: () => customLogger as pino.Logger<never>
child: () => customLogger
}

const serverWithCustomLogger = fastify({ logger: customLogger })
Expand Down

0 comments on commit b8f2d9e

Please sign in to comment.