title: How can I resolve the TypeScript Compiler error "Namespace 'NodeJS' has no exported member 'Global'"?
body: <p><strong>QUESTION</strong>: How can I resolve the Typescript Compiler (<code>tsc</code>) error &quot;<em>Namespace 'NodeJS' has no exported member 'Global'</em>&quot;?</p>
  <p>While running <code>tsc</code>, I'm all of a sudden seeing the following error in a &quot;legacy&quot;(not new) project:</p>
  <pre><code>node_modules/expect/node_modules/@jest/types/build/Global.d.ts:85:62 - error TS2694: Namespace 'NodeJS' has no exported member 'Global'.
  
  85 export interface Global extends GlobalAdditions, Omit&lt;NodeJS.Global, keyof GlobalAdditions&gt; {
                                                                  ~~~~~~
  </code></pre>
  <p>I tried adding installing <code>@types/node</code> and adding <code>&quot;types&quot;: [&quot;node&quot;]</code> to my <code>tsconfig</code> (as suggested in <a href="https://stackoverflow.com/questions/68251777/namespace-nodejs-has-no-exported-member-global">this SO post</a>), but that didn't help.</p>
  <p><strong>Node version</strong>: 12.18.4
  <br>
  <strong>Jest version</strong>: 26.5.3</p>