Node.JS app.post "unresolved function or method post()"

When attempting to make a Node.JS / express app, whenever I try to use the app.post() / router.post() method it throws an error stating that it is a unresolved function or method. I've tried just ignoring it and running the app, but then it returns a 404 error. Any solution?

0
1 comment

please try installing typescript stubs for express module; see http://youtrack.jetbrains.com/issue/WEB-6667#comment=27-589563

1

Please sign in to leave a comment.