-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix custom APIs types #2421
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
Comments
Why not just install |
What about Also, it seems we left |
We're still using both:
|
I was building a custom API endpoint:
When I type

res.
I don't get any autocomplete. When I clicked through the types ofApi
I found this:It complains we are missing
@types/express
.And when I changed
express
toexpress-serve-static-core
, the types auto-complete worked.Proposed implementation
We should either swap out
express
forexpress-serve-static-core
when we are after Express types or investigate if there is a better way (a newer way) to get the Express types since Express development started again. (Maybe the solution will be upgrading to Express v5 in the end?)The text was updated successfully, but these errors were encountered: