title: JSDoc: assign type to inline variable
body: <p>Can I assign a type to a variable which gets a <code>object</code> result from a third party library?</p>
  
  <pre><code>const result = thirdPartyLib.doSomething();
  </code></pre>
  
  <p>Now I may have a ES6 class</p>
  
  <pre><code>class MyClass {
    ...
  }
  </code></pre>
  
  <p>And I want to annotate my <code>result</code> to be of type <code>MyClass</code>.</p>
  
  <p>Is this possible using JSDoc?</p>