JSDoc: arrow function params
<p>I'm trying to document my code with JSDoc (EcmaScript 2015, WebStorm 12 Build 144.3357.8).</p>
<p>I have an arrow function which I want to document its parameters.
This two examples work (I get auto-completion):</p>
<pre><code>/** @param {Number} num1*/
var a = num1 =&gt; num1 * num1;
//------------------------------
/** @param {Number} num1*/
var a = num1 =&gt; {
    return num1 * num1;
};
</code></pre>
<p>But when I want to document an arrow function in <code>forEach</code> function, for example, the auto-completion isn't working (all of the below):</p>
<pre><code>/** @param {Number} num1*/
[].forEach(num1 =&gt; {
    return num1 * num1;
});
//------------------------------
/** @param {Number} num1*/
[].forEach(num1 =&gt; num1 * num1);
//------------------------------
[].forEach(/** @param {Number} num1*/num1 =&gt; num1 * num1);
//------------------------------
[].forEach(/** @param {Number} num1*/num1 =&gt; {
    return num1 * num1;
});
</code></pre>
<p>Has anyone managed to get this work?</p>