<p dir="auto">The language service doesn't give any suggestions here:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const wrapper = document.querySelector('.wrapper') as H"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">wrapper</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'.wrapper'</span><span class="pl-kos">)</span> <span class="pl-k">as</span> <span class="pl-smi">H</span></pre></div>
<p dir="auto">At <code class="notranslate">H</code> I expected to see HTMLElement. The suggestion is shown if I type <code class="notranslate">;</code> and then <code class="notranslate">H</code>.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type T = number;
var x;
var y = x as /**/"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-smi">T</span> <span class="pl-c1">=</span> <span class="pl-smi">number</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">x</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span> <span class="pl-k">as</span> <span class="pl-c">/**/</span></pre></div>
<p dir="auto">Request completion at <code class="notranslate">/**/</code>.</p>
<p dir="auto">Expected: Get completion list, <code class="notranslate">T</code> is present.<br>
Actual: No completion list.</p>