<p dir="auto">The compiler should allow shebangs to pass through.</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/23298295/how-to-make-a-shell-executable-node-file-using-typescript" rel="nofollow">http://stackoverflow.com/questions/23298295/how-to-make-a-shell-executable-node-file-using-typescript</a></p>
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows...
"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto"><strong>Actual behavior:</strong></p>