title: error TS2339: Property 'deviceXDPI' does not exist on type 'Screen'
body: <p>I have some code like this</p>
  <pre class="lang-js prettyprint-override"><code>if (window.screen.deviceXDPI) {
    arrDPI[0] = window.screen.deviceXDPI;
    arrDPI[1] = window.screen.deviceYDPI;
  }
  </code></pre>
  <p>then i got the compile error</p>
  <pre><code>error TS2339: Property 'deviceXDPI' does not exist on type 'Screen'.
  </code></pre>
  <p>I try to modify like this but still got the same error</p>
  <pre class="lang-js prettyprint-override"><code>const { deviceXDPI, deviceYDPI } = window.screen as any
  
  if (deviceXDPI) {
    arrDPI[0] = deviceXDPI;
    arrDPI[1] = deviceYDPI;
  }
  </code></pre>
  <p>typescript version is 3.2.4</p>