Unresolved function or method
Webstorm is giving me "Unresolved function or method" for something that is working. How do I remove this?
See picture added.

Project:
https://github.com/Combii/node-todo/tree/ab31aa68a9c90d709867be1fbf1ea97a72937f7e
Please sign in to leave a comment.
looks related to https://youtrack.jetbrains.com/issue/WEB-28392
Try changing code to
and
this should help.
Still Webstorm has lots of issues with mongoose code - doesn't understand mongoose.model(), etc
see https://youtrack.jetbrains.com/issue/WEB-22317 and linked tickets