You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Fastify version
4.1.0
Plugin version
No response
Node.js version
18.x
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.0
Description
The .addresses() server method is not present in the types for the fastify instance but this method is present in the documentation and in the instance.
Steps to Reproduce
Simply create a fastify instance and call .addresses()
importfastifyfrom'fastify';constfastifyInstance=fastify();constaddresses=fastifyInstance.addresses();// Property 'addresses' does not exist on type 'FastifyInstance & PromiseLike >'.
Prerequisites
Fastify version
4.1.0
Plugin version
No response
Node.js version
18.x
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.0
Description
The
.addresses()
server method is not present in the types for the fastify instance but this method is present in the documentation and in the instance.Steps to Reproduce
Simply create a
fastify
instance and call.addresses()
The tsconfig.json I use:
Expected Behavior
The
fastifyInstance.addresses()
method should be in theFastifyInstance
type.The text was updated successfully, but these errors were encountered: