title: Why does IntelliJ propose RegExp.[Symbol.matchAll] instead of RegExp.matchAll?
body: <p>The code-completion in IntelliJ only proposes <code>RegExp.[Symbol.matchAll]</code>, but not <code>RegExp.matchAll</code>:<br />
  <a href="https://i.stack.imgur.com/6rBr0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6rBr0.png" alt="enter image description here" /></a></p>
  <p>Typescript config settings:</p>
  <pre class="lang-json prettyprint-override"><code>  &quot;compilerOptions&quot;: {
      &quot;lib&quot;: [&quot;es2020&quot;],
      &quot;target&quot;: &quot;es2020&quot;,
    },
  </code></pre>
  <p>What can be the reason for this?</p>
  <h2>More info:</h2>
  <ul>
  <li><code>/x/[Symbol.matchAll](&quot;axb&quot;)</code> works at runtime (NodeJs 14).</li>
  <li><code>string.matchAll()</code> works, but <code>RegExp.matchAll()</code> doesn't:<br />
  <a href="https://i.stack.imgur.com/BKSSl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BKSSl.png" alt="enter image description here" /></a></li>
  <li>Typescript version 4.3.5</li>
  </ul>