Overload signatures must all be ambient or non-ambient in TypeScript
<p>Here's code.</p>

<p>filename is common.ts</p>

<pre><code>module common{

        export function commonInit(){

            return true;
        }
}
</code></pre>

<p>when i build eclipse Ant, it becomes </p>

<blockquote>
  <p>"Error TS2384: Overload signatures must all be ambient or non-ambient.".</p>
</blockquote>

<p>Can anybody explain how to solve that error.</p>