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'm using typescript as per project requirements and using fastify gateway for researching as a possible alternate for a commercial gateway. While writing middleware, the request, response and next need to have types and yet I could not find them as they are not required in JS and in TS i've specified them as unknown.
Since it is based on fastify, I assume that they use FastifyRequest, FastifyReply interfaces as mentioned here https://stackoverflow.com/a/63822691
Can you please guide me what are the types because adding these types require me to install fastify also
The text was updated successfully, but these errors were encountered:
I'm using typescript as per project requirements and using fastify gateway for researching as a possible alternate for a commercial gateway. While writing middleware, the request, response and next need to have types and yet I could not find them as they are not required in JS and in TS i've specified them as unknown.
Since it is based on fastify, I assume that they use FastifyRequest, FastifyReply interfaces as mentioned here
https://stackoverflow.com/a/63822691
Can you please guide me what are the types because adding these types require me to install fastify also
The text was updated successfully, but these errors were encountered: