WebStorm 11 'Unresolved method or function'

I just upgraded to WS 11, and see JS warnings that were not present in WS 6. In particular the warning "Unresolved method or function".

The following example shows the warning - and illustrates how I declare classes.

How should I document this to remove the error?

Also, is there a way to see what type WebStorm thinks a variable is and the members of that type?

* @class
* @memberOf package
var Clazz = (function() {
function Clazz() {

Clazz.prototype.func = function() {

/** @param {Clazz} inst */
var localFunc = function( inst ) {
inst.func(); // WARNING HERE

return Clazz;

1 comment
Comment actions Permalink

works for me using your code:


Please try invalidating caches (File/Invalidate caches, Restart) - does the problem persist?

To view the information about inferred type, try hitting Ctrl+Q (View/Quick Documentation) on your variable:


Please sign in to leave a comment.