anonymous functions in typescript are not converted to javascript properly
<p>I'm writing my application using nodejs 5.10.1 with tsc 1.8.9</p>

<p>In general i'm converting the syntax of anonymous functions to typescript syntax. which means converting</p>

<pre><code>function(){}
</code></pre>

<p>to</p>

<pre><code>()=&gt;{}
</code></pre>

<p>so I have several places where I changed to the typescript method of declaring anonymous functions:</p>

<pre><code> async.each(params.fjso, (filePath:string, callback:Function)=&gt; {
</code></pre>

<p>is converted to:</p>

<pre><code>async.each(params.fjso, (filePath, callback) =&gt; {
</code></pre>

<p>another example:</p>

<pre><code>async.forEachOf(params.fjso, (filePath:string, fileIdx:number,callback:Function)=&gt;{
</code></pre>

<p>is converted to:</p>

<pre><code>async.forEachOf(params.fjso, (filePath, fileIdx, callback) =&gt; {
</code></pre>

<p>as you can see the code part <code>()=&gt;{}</code> is not modified to <code>function(){}</code>. </p>

<p>I'm new to typescript so i'm probably missing something... but what?</p>

<p>tsc complication doesn't show any error messages.</p>

<p>thanks</p>