title: How to document a JS class in Typescript with JSDoc
body: <p>I have a codebase that I'm looking to slowly migrate to Typescript. This means I create classes the non-ES6 way using <a href="https://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor" rel="nofollow noreferrer"><code>util.inherits</code></a> from Node, and would like to use JSDoc type annotations rather than converting to Typescript at this time.</p>
  
  <p>But I'm having a problem typing classes:</p>
  
  <pre><code>var util = require("util");
  
  function Base() {
  }
  
  /**
   * @constructor
   * @param {string} arg
   */
  function Thing(arg) {
      Thing.super_.call(this);
  
      this.x = arg;
  }
  
  util.inherits(Thing, Base);
  
  var thing = new Thing("test");
  </code></pre>
  
  <p>When running Typescript gives the following output:</p>
  
  <pre><code>$ tsc --noEmit --allowJs --checkJs .\test.js
  test.js:11:15 - error TS2339: Property 'super_' does not exist on type 'typeof Thing'.
  
  11         Thing.super_.call(this);
                   ~~~~~~
  </code></pre>
  
  <p>Is there a way to document the <code>super_</code> property created by <code>inherits</code> using JSDoc?</p>