<p dir="auto">What steps will reproduce the problem?</p>
<ol dir="auto">
<li>Use custom typescript 1.5 beta compiler.</li>
<li>Type a code snippet:    let a: typeof DataView.</li>
<li>Get an error:   Error:(1, 15) TS2304: Cannot find name 'DataView'.</li>
</ol>
<p dir="auto">What is the expected result?<br>
It should be right.</p>
<p dir="auto">What happens instead?<br>
Get an error.</p>
<p dir="auto">Please provide any additional information below.<br>
When I use bounded typescript 1.4 compiler and the new typescript 1.5 alpha compiler, everything is OK. I don't know where I should put this issue, so I put it both in webstorm and typescript issue track platform. Please check and tell me what should I do.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3363650/7439704/b84f4406-f0b8-11e4-9860-53822efd817e.png"><img src="https://cloud.githubusercontent.com/assets/3363650/7439704/b84f4406-f0b8-11e4-9860-53822efd817e.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Looking at history : <a href="https://github.com/Microsoft/TypeScript/commits/master/bin/lib.d.ts">https://github.com/Microsoft/TypeScript/commits/master/bin/lib.d.ts</a></p>
<p dir="auto">Was there on April 11 : <a href="https://github.com/Microsoft/TypeScript/blob/6f1feffe6710a3201fb46a0b01e16051bfc18a29/bin/lib.d.ts#L1689">https://github.com/Microsoft/TypeScript/blob/6f1feffe6710a3201fb46a0b01e16051bfc18a29/bin/lib.d.ts#L1689</a></p>
<p dir="auto">Isn't there on April 18: <a href="https://github.com/Microsoft/TypeScript/blob/b8ebf561f94ea27ecfc6af3c2b20661e6fcd79ed/bin/lib.d.ts">https://github.com/Microsoft/TypeScript/blob/b8ebf561f94ea27ecfc6af3c2b20661e6fcd79ed/bin/lib.d.ts</a></p>
<p dir="auto">Report by Atom-TypeScript user <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vaughnroyko/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vaughnroyko">@vaughnroyko</a></p>
<p dir="auto">The following code now fails (source from : <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView</a>):</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var littleEndian = (function() {
  var buffer = new ArrayBuffer(2);
  new DataView(buffer).setInt16(0, 256, true);
  return new Int16Array(buffer)[0] === 256;
})();
console.log(littleEndian); // true or false"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">littleEndian</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-k">var</span> <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">ArrayBuffer</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-k">new</span> <span class="pl-smi">DataView</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">setInt16</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">256</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">Int16Array</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span> <span class="pl-c1">===</span> <span class="pl-c1">256</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">littleEndian</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// true or false</span></pre></div>