title: Importing typescript defintion into JSDoc
body: <p>I'm trying to use ts-xor package that returns a typescript def :</p>
  <pre><code>export declare type XOR&lt;T, U&gt; = (T | U) extends object ? (Without&lt;T, U&gt; &amp; U) | (Without&lt;U, T&gt; &amp; T) : T | U;
  </code></pre>
  <p>Here is how I'm using it:</p>
  <pre><code>/**
   * @typedef {import('ts-xor')} XOR
   * @typedef {XOR&lt;{
               ^^^
    *   small: true
    * }, {
    *   verySmall: true,
    * }&gt;} ButtonProps
    * @typedef {React.FunctionComponent&lt;ButtonProps&gt;} ButtonComponent 
    */
  </code></pre>
  <p>I get :</p>
  <pre><code> Type 'XOR' is not generic.ts(2315)
  </code></pre>
  <p><a href="https://codesandbox.io/s/typescript-playground-export-forked-r6udhl?fontsize=14&amp;hidenavigation=1&amp;theme=dark" rel="nofollow noreferrer"><img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="Edit TypeScript Playground Export (forked)" /></a></p>