<p dir="auto">I had a deps file that looks like:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export * as React from &quot;https://dev.jspm.io/react&quot;;
export * as ReactDOM from &quot;https://dev.jspm.io/react-dom&quot;;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-s1">as</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">"https://dev.jspm.io/react"</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-s1">as</span> <span class="pl-v">ReactDOM</span> <span class="pl-k">from</span> <span class="pl-s">"https://dev.jspm.io/react-dom"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">and then the file consuming it...</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { React, ReactDOM } from &quot;./deps.js&quot;;
const rootEl = document.getElementById(&quot;root&quot;);
ReactDOM.render(&lt;div&gt;hello, world&lt;/div&gt;, rootEl);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">React</span><span class="pl-kos">,</span> <span class="pl-v">ReactDOM</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./deps.js"</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">rootEl</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">"root"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>hello, world<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">rootEl</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I then ran <code class="notranslate">deno bundle mod.js app.bundle.js</code>. The outputted bundle was missing the react and react-dom dependencies entirely. Changing my deps file to the below fixed the issue:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export { default as React } from &quot;https://dev.jspm.io/react&quot;;
export { default as ReactDOM } from &quot;https://dev.jspm.io/react-dom&quot;;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">default</span> <span class="pl-k">as</span> <span class="pl-v">React</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://dev.jspm.io/react"</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">default</span> <span class="pl-k">as</span> <span class="pl-v">ReactDOM</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://dev.jspm.io/react-dom"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I realize they don't mean the exact same thing but for <code class="notranslate">React</code> and <code class="notranslate">ReactDOM</code>, it does. I'm not sure if I'm missing something here. Thanks!</p>
<p dir="auto">Hi,</p>
<p dir="auto">in my tsconfig.json:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;compilerOptions&quot;: {
  &quot;lib&quot;: [&quot;esnext&quot;, &quot;dom&quot;, &quot;deno.ns&quot;]
}"><pre class="notranslate"><span class="pl-ent">"compilerOptions"</span>: {
  <span class="pl-ent">"lib"</span>: [<span class="pl-s"><span class="pl-pds">"</span>esnext<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>dom<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>deno.ns<span class="pl-pds">"</span></span>]
}</pre></div>
<p dir="auto">...and with Deno 0.35.0:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="error TS2488: Type 'Headers' must have a '[Symbol.iterator]()' method that returns an iterator.

► https://deno.land/std/http/io.ts:135:24

135   for (const [k, v] of result) {
                           ~~~~~~

error TS2488: Type 'Headers' must have a '[Symbol.iterator]()' method that returns an iterator.

► https://deno.land/std/http/io.ts:206:30

206   for (const [key, value] of trailers) {
                                 ~~~~~~~~

error TS2488: Type 'Headers' must have a '[Symbol.iterator]()' method that returns an iterator.

► https://deno.land/std/http/io.ts:260:30

260   for (const [key, value] of headers) {"><pre class="notranslate">error TS2488: Type <span class="pl-s"><span class="pl-pds">'</span>Headers<span class="pl-pds">'</span></span> must have a <span class="pl-s"><span class="pl-pds">'</span>[Symbol.iterator]()<span class="pl-pds">'</span></span> method that returns an iterator.

► https://deno.land/std/http/io.ts:135:24

135   <span class="pl-k">for</span> (const [k, v] of result) {
                           <span class="pl-k">~</span>~~~~~

error TS2488: Type <span class="pl-s"><span class="pl-pds">'</span>Headers<span class="pl-pds">'</span></span> must have a <span class="pl-s"><span class="pl-pds">'</span>[Symbol.iterator]()<span class="pl-pds">'</span></span> method that returns an iterator.

► https://deno.land/std/http/io.ts:206:30

206   <span class="pl-k">for</span> (const [key, value] of trailers) {
                                 <span class="pl-k">~</span>~~~~~~~

error TS2488: Type <span class="pl-s"><span class="pl-pds">'</span>Headers<span class="pl-pds">'</span></span> must have a <span class="pl-s"><span class="pl-pds">'</span>[Symbol.iterator]()<span class="pl-pds">'</span></span> method that returns an iterator.

► https://deno.land/std/http/io.ts:260:30

260   <span class="pl-k">for</span> (const [key, value] of headers) {</pre></div>