JSDoc - how to check types for JavaScript
Solution 1:
jshint is not aware of jsdoc comments. You could however look at using eslint and writing a plugin for it that would perform type checking on function calls. Depending on how your project is set up you might end up having to pre-parse your code to extract the comments into a rules file that your eslint rule would use.
Solution 2:
Disclaimer, I'm the author of tern.java.
I suggest you that you install tern.java 1.0.0-SNAPSHOT. It provides the capability to validate your JavaScript files by using JSDoc annotations. Here a screenshot with the sample of this issue :
If you need improvement with JSDoc validation, please create issues here