title: Emacs Typescript error line format output - User defined option?
body: <p>We've started using TypeScript along with Emacs as thats our editor of choice. </p>
  
  <p>One issue we have found is that the TypeScript error line format doesn't appear to be compatible with the Emacs compilation mode error handling.</p>
  
  <p>e.g. </p>
  
  <p>If we compile a C program and introduce a deliberate error we get</p>
  
  <pre><code>t1.c:6:5: error: use of undeclared identifier 'a'                                       
  </code></pre>
  
  <p>If we do the same for the TypeScript compiler we get (ignore the message, its the format thats important)</p>
  
  <pre><code>utilities.ts(13,18): error TS2384: Overload signatures must all be ambient or non-ambient.
  </code></pre>
  
  <p>Emacs can handle the first type of error message using the key command ESC-g n and will move the main editor window to the error. </p>
  
  <p>Emacs cannot handle the second error line format. </p>
  
  <p>We have hacked together a workaround by wrapping the TypeScript compiler in a Perl script and got the Perl script to reformat the lines appropriately. This works but is a bit of kludge and it would be nice if TypeScript had a little more flexibility.</p>
  
  <p>We were wondering if there is a flag or some way to change the Typescript error output to a format that is compatible with Emacs. </p>