<p dir="auto">The following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import type {HVal} from 'https://cdn.skypack.dev/haystack-core?dts'
import {HNum} from 'https://cdn.skypack.dev/haystack-core?dts'

function num() : HVal {
    return HNum.make(100)
}
console.log(num().getKind())"><pre class="notranslate"><code class="notranslate">import type {HVal} from 'https://cdn.skypack.dev/haystack-core?dts'
import {HNum} from 'https://cdn.skypack.dev/haystack-core?dts'

function num() : HVal {
    return HNum.make(100)
}
console.log(num().getKind())
</code></pre></div>
<p dir="auto">Gives this error in the VSCode plugin:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Module '&quot;https://cdn.skypack.dev/haystack-core?dts&quot;' has no exported member 'HVal'. Did you mean to use 'import HVal from &quot;https://cdn.skypack.dev/haystack-core?dts&quot;' instead?deno-ts(2614)"><pre class="notranslate"><code class="notranslate">Module '"https://cdn.skypack.dev/haystack-core?dts"' has no exported member 'HVal'. Did you mean to use 'import HVal from "https://cdn.skypack.dev/haystack-core?dts"' instead?deno-ts(2614)
</code></pre></div>
<p dir="auto">Removing the <code class="notranslate">type</code> from the import fixes the issue. But the type declaration is available and downloaded in the cache.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export { minify } from 'https://esm.sh/terser@5.5.1'
export type { ECMA } from 'https://esm.sh/terser@5.5.1'"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">minify</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'https://esm.sh/terser@5.5.1'</span>
<span class="pl-k">export</span> <span class="pl-k">type</span> <span class="pl-kos">{</span> <span class="pl-smi">ECMA</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'https://esm.sh/terser@5.5.1'</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2883484/108607270-4dd8bc80-73fa-11eb-9c75-02d7dceea3b2.png"><img width="1007" alt="Screen Shot 2021-02-21 at 04 06 36" src="https://user-images.githubusercontent.com/2883484/108607270-4dd8bc80-73fa-11eb-9c75-02d7dceea3b2.png" style="max-width: 100%;"></a></p>
<p dir="auto">after using the <strong>quick fix</strong>:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2883484/108607268-49140880-73fa-11eb-9c8f-f6772732108e.png"><img width="975" alt="Screen Shot 2021-02-21 at 04 07 04" src="https://user-images.githubusercontent.com/2883484/108607268-49140880-73fa-11eb-9c8f-f6772732108e.png" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>deno 1.7.5 / vscdoe-deno 3.0.1</strong></p>