swagger-stats
swagger-stats copied to clipboard
Interface 'Chain' incorrectly extends interface 'Promise<Response>'
trafficstars
swagger-stat uses fastify and fastify uses 'light-my-request'. We are getting the below error
node_modules/light-my-request/index.d.ts(89,13): error TS2430: Interface 'Chain' incorrectly extends interface 'Promise<Response>'. The types of 'get(...)[Symbol.toStringTag]' are incompatible between these types. Type 'string' is not assignable to type '"Object"'.
swagger-stats version :"0.95.17"
the error was not there when we removed swagger-stats from package.json further I forked and when I removed "^" symbol from fastify in the package.json, it worked fine