New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@types/express, @types/express-serve-static-core -- Basic server fails. 'Argument of type '"/api"' is not assignable to parameter of type 'RequestHandlerParams'. #18647
Comments
hi @natejgardner |
@natejgardner your problem is into the Api Router: you can try a solution like this (into "./routes/api" file):
It's work for me....enjoy :) |
Is this fixed ? |
Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the |
Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the |
@types/express
and@types/express-serve-static-core
package and had problems.Definitions by:
inindex.d.ts
) so they can respond.Code:
When building:
Related:
expressjs/express#3263
The text was updated successfully, but these errors were encountered: