title: typescript compilation errors never stop compilation
body: <p>Below is the content of the index.ts file that I am transpiling to js with default settings of tsconfig --init (tsc v3.2.4)</p>
  
  <pre><code>console.log("foo");
  these crazy typos will compile all though compilation raises errors
  console.log("bar")
  </code></pre>
  
  <p>The typescript compiler will output a build whatever the input may be.</p>
  
  <p>Is there a way to control this ?</p>
  
  <p>For example: make typescript compiler output nothing if errors are raised during compilation.</p>