title: What's the correct way to document a jQuery parameter type with JSDoc?
body: <p>I'm trying to document my program with the JSDoc syntax for myself and the people that will have to look at my code. I'm also trying to improve my skills.</p>
  
  <p>For a parameter of the jQuery type, I'm a little puzzled. I know that's an object, but it's fairly common in my program, so I think I should first declare a typedef for the jQuery type, then use it as my parameter type. So I ask, would it be the correct way to do it?</p>
  
  <pre><code>/**
   * DOM object referenced by jQuery
   * @typedef {jQuery} $jQueryDomObject
   */
  
  /**
  * SOAP call that does ...
  *
  * @param {string} code Some desc ...
  * @param {callback} fnctVa Some desc ...
  * @param {$jQueryDomObject} $attrib Input field that ...
  */
  myfunction = function (code, fnctVa, $attrib) {};
  </code></pre>
  
  <p>I also found on SO this question, somewhat similar:<br>
  <a href="https://stackoverflow.com/questions/13610979/how-can-i-get-jsdoc-to-mark-my-param-as-a-jquery-object">How can I get JSDoc to mark my param as a jQuery object?</a></p>