title: Refer to type in different file in JSDoc without importing
body: <p>I'm writing JavaScript (ES6) code in Visual Studio Code and enabled VSCode's type checking as explained in the <a href="https://code.visualstudio.com/docs/languages/javascript#_type-checking-and-quick-fixes-for-javascript-files" rel="nofollow noreferrer">VSCode docs</a>.</p>
  <p>When referring to a type that is defined in another file (<code>Track</code> in the example below), I get an error like <em>[js] Cannot find name 'Track'</em> at the JSDoc reference to that type unless I import it. When I import this type, I get an error from ESLint: <em>[eslint] 'Track' is defined but never used. (no-unused-vars)</em></p>
  <p>I don't want to disable the ESLint rule. Is there a way to import the type <em>only</em> for the type checks in VSCode?</p>
  <pre class="lang-js prettyprint-override"><code>import Track from &quot;./Track&quot;;
  
  export default class TrackList {
  
  /**
   * Creates a new track list.
   * @param {Iterable&lt;Track&gt;} tracks the tracks to include
   */
  constructor(tracks) {
      this._tracks = tracks ? Array.from(tracks) : [];
  }
  ...
  </code></pre>