Missing types integration for FastifyContextConfig
mdoria12 opened this issue · comments
Michele Doria commented
Retrieving routeId
from request.context leads to type error due to the missing definition of metrics
object.
something like:
declare module 'fastify' {
interface FastifyContextConfig {
metrics: {
routeId: string
}
}
}