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 am attaching metrics programatically in TypeScript. This used to work fine with a previous version (5.0.2) but with recent updates I now have a TypeScript error: error TS2339: Property 'metricsMiddleware' does not exist on type 'RequestHandler'.
Hi
I am attaching metrics programatically in TypeScript. This used to work fine with a previous version (5.0.2) but with recent updates I now have a TypeScript error:
error TS2339: Property 'metricsMiddleware' does not exist on type 'RequestHandler'.
Here is how I used to do it in 5.0.2:
Here is how I try to do it now (with the error TS2339):
This is only a typing issue and does not prevent my server from running correctly.
The text was updated successfully, but these errors were encountered: