Express with TypeScript: Global Middlewares Don't Match Types. #5988
Unanswered
hariacharya80
asked this question in
Q&A
Replies: 1 comment
-
update to latest express version and types v5+ and your problem should be solved. example when upgrading https://github.com/trpc/trpc/pull/6443/files#diff-2a8e876570a748d00d89983e41a1883a7082fd9fa3482554a63cc5befcebe618 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, this is kinda confused question. I found out that the latest version of express and it's types does have a issue, at least with me.
You can understand it if you view the issue below:

and the version is as follows:

but this issue did not existed in the previous version of express and/or it's types:


is this an actual issue or I'm being dumb. Haven't slept for 2 days straight lol 🤣
can anyone replicate and see if it's a genuine issue before opening it?
for more reference the middleware is as follows:
Beta Was this translation helpful? Give feedback.
All reactions