<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface I1 {
    a(x: number, y: string): void;
}

interface I2 {
    a(x: number, y: string): void;
}

var v: I1 &amp; I2;

v.a/*requestQuickInfoHere*/(/*requestSignatureHelpHere*/"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">I1</span> <span class="pl-kos">{</span>
    <span class="pl-c1">a</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-s1">y</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-k">interface</span> <span class="pl-smi">I2</span> <span class="pl-kos">{</span>
    <span class="pl-c1">a</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-s1">y</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-k">var</span> <span class="pl-s1">v</span>: <span class="pl-smi">I1</span> <span class="pl-c1">&amp;</span> <span class="pl-smi">I2</span><span class="pl-kos">;</span>

<span class="pl-s1">v</span><span class="pl-kos">.</span><span class="pl-c1">a</span><span class="pl-c">/*requestQuickInfoHere*/</span><span class="pl-kos">(</span><span class="pl-c">/*requestSignatureHelpHere*/</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/972891/9588334/8106f92a-4fdc-11e5-9041-e1c5dcf9a020.gif"><img src="https://cloud.githubusercontent.com/assets/972891/9588334/8106f92a-4fdc-11e5-9041-e1c5dcf9a020.gif" alt="uselessoverloads" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.7</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let s
let a
let b

s = &quot;&quot; // &lt;-- Syntax error iff there is no ';' here
[a, b] = [1, 2]
"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">s</span>
<span class="pl-k">let</span> <span class="pl-s1">a</span>
<span class="pl-k">let</span> <span class="pl-s1">b</span>

<span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-s">""</span> <span class="pl-c">// &lt;-- Syntax error iff there is no ';' here</span>
<span class="pl-kos">[</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span></pre></div>