I have a file which exports a moongose.model
module.exports = moongose.model("User", userSchema);
In whatever file I import it, Webstorm doesn't recognize the type of the variable.
const User = require("user");
Should Webstorm be smart enough and recognize it's a moongose model?