title: Typescript: Empty output file when compiling
body: <p>I compile the following code using the latest typescript compiler (1.4)</p>
  
  <pre><code>/// &lt;reference path="typescript.d.ts" /&gt;
  
  //import ts = require("typescript");
  module cc {
  console.log("Hello");
  }
  </code></pre>
  
  <p>using the following compile args</p>
  
  <pre><code>node /TypeScript/built/local/tsc.js -m commonjs --noEmitOnError app.ts -out myApp.js
  </code></pre>
  
  <p>which compiles Ok and generates the "myApp.js" file.</p>
  
  <p>When I uncomment the import line, I get no error on compiling, but it generates an empty (zero size) "myApp.js" and a file "app.js", even I have specified the --noEmitOnError switch.</p>
  
  <p>This is a strip down example, in fact I specify multiple ".ts" files and I get no error on compiling, the empty "myApp.js" file and for each ".ts" file I specified, I get a ".js" file.</p>
  
  <p>I am using node 0.10.30 on Windows 8.1</p>