express types
I was creating a server using express and even after type annotating the request and response correctly, I get this error.
One of the most weird behavior is, when I did setup the project initially, everything was working fine. The type annotation, the auto-suggestion, everything. When I closed the file and opened it again, the type annotation is there, but there's no auto-suggestion, and i get this weird error.
2 Replies
similarly with this file. When I initially created the file, everything was fine. I closed and reopened it again, now i don't get the autosuggestion.
I just restarted the vscode and everything is working fine now