title: Using @typedef to define a specific function type
body: <p>I don't know how much of this (if any) is related to Google Closure or if it's all clean jsdoc, but I tried using @typedef to define a specific type of function like this;</p>
  
  <pre><code>/**
   * @typedef {function(paramType0, paramType1):returnType} name.space.and.TypeName
   */
  </code></pre>
  
  <p>also tried </p>
  
  <pre><code>/**
   * @typedef {function(paramType0, paramType1):returnType} 
   */
  name.space.and.TypeName;
  </code></pre>
  
  <p>where param and return types are the reason I want to define this specification of function. My question is this;</p>
  
  <p>Why do validation tell me that the "Method is not of Function type". I know it's an option to use the type 'Function', but as far as I know, that won't allow me to define parameter and return types? Am I wrong on this as well?</p>
  
  <p>I would much appreciate some assistance on this in any case. Thanks.</p>