title: Typescript compile to single file external modules
body: <p>I'm trying to compile my project to a single js file and definition, however the compiler doesn't seem to do it correctly.</p>
  
  <p>example: node /home/ian/.m2/repository/com/williamsinteractive/oxygen/gdk-build/0.3.0-dirty/compile/tsc/1.3.0/tsc.js --out test.js -m amd -t ES5 -d Command.ts</p>
  
  <p>A blank test.js and test.d.ts gets created with no code in them.</p>
  
  <p>Also a Command.js and a Command.d.ts get created with the code in them.</p>
  
  <p>I want to be able to compile all my classes into a single .js file and ideally a single .d.ts file as it is a library to be imported by other projects.</p>