title: After upgrade eslint says NodeJS is undefined
body: <p>I have upgraded <code>Eslint</code> from 7.7.0 to 7.10.0 and <code>@types/node</code> from 14.6.0 to 14.11.2. The application <code>tsconfig.json</code> defines <code>types: [&quot;node&quot;]</code> and typescript is version 4.0.3. Eslint is called with <code>eslint --env node,es2020</code>.</p>
  <p>Before the upgrade Eslint never flagged any problem in my code. Now Eslint started complaining that <code>NodeJS</code> is not defined in the following code fragment:</p>
  <pre><code>private handleServerErrors(error: NodeJS.ErrnoException): void {
      if(error.code === &quot;EADDRINUSE&quot;) {
          . . .
  </code></pre>
  <p>I silence the Eslint error and the compilation succeeded. So seems a problem specific to eslint, not the code.</p>
  <p>The same problem happens in another file for namespace <code>JQuery</code>, but I had not yet investigated.</p>
  <p>Is there anything I'm missing? Need to add some import? What has changed in eslint/typescript/node?</p>
  <p>Thanks for your help!
  mario</p>