title: Resharper, Javascript: "Use of implicitly declared global variable 'X'"
body: <p>I'm using Resharper 6 and ASP.NET Web Methods and have an irritating warning in my Javascript files:</p>
  
  <pre><code>"Use of implicitly declared global variable 'X'"
  </code></pre>
  
  <p>The reason is that the web method is created in Javascript as:</p>
  
  <pre><code>new X.example().webMethod(arg1, arg2, successCallback, failureCallback);
  </code></pre>
  
  <p>And X...is implicitly defined. I'm wondering if there is a solution to explicitly define this? It's defined in some auto-generated JS file, created by the ASP.NET web method framework stuff.</p>
  
  <p>My question is: how do I get rid of the error for this situation, without getting rid of it for legitimately wrong situations?</p>
  
  <p>Thanks!</p>