How do I make Object.entries available in TypeScript? : <p>In my angular-cli-built app (which is currently using TypeScript 2.0.3) I want to be able to use this decomposition-based iterator:</p>

<pre><code>for (let [key, value] of Object.entries(obj)) {

}
</code></pre>

<p>What do I have to do in order to have it recognized:</p>

<ul>
<li>upgrade TypeScript?</li>
<li>use a polyfill?

<ul>
<li>if so: how do I import it - in individual .ts files or in a config file to make it globally available?</li>
</ul></li>
<li>use a third-party library?</li>
</ul>
