title: phpstorm javascript how to show object has no function error
body: <p>for example if we have this code:   </p>
  
  <pre><code>var a = {
      b:function(){
  
      }
  };
  var c = {
      someFunction:function(){
  
      }
  };
  a.someFunction();
  </code></pre>
  
  <p>PHPSTORM will not show error for "a.someFunction();"</p>
  
  <p>How can i fix this?</p>