title: Make "Unreachable code detected" compilation warning instead of error in TypeScript?
body: <p>In Typescript, when there is unreachable code, the compiler generates by default error:</p>
  
  <pre><code>error TS7027: Unreachable code detected.
  </code></pre>
  
  <p>I can avoid it by using compiler option <code>allowUnreachableCode</code> to <code>true</code> but can I change it somehow to warning? </p>
  
  <p>I would still prefer to know about unreachable code. During development and debugging I sometimes use <code>if (false)</code> to temporarily remove some functionality, which is better than commenting the code out especially when the code itself contains comments.</p>
  
  <p>In C#, unreachable code generates warning (which I can treat as error by other option), which seems to me better way to handle it.</p>