title: What it means **/node_modules/* in tsconfig.json?
body: <p>In <a href="https://code.visualstudio.com/docs/nodejs/working-with-javascript" rel="nofollow noreferrer">this official docs of Visual Code</a> it's recommended to add <code>node_modules</code> to the <code>exclude</code> field of tsconfig.json. It is done this way:</p>
  <pre><code>{
    &quot;compilerOptions&quot;: {
      &quot;allowJs&quot;: true,
      &quot;checkJs&quot;: true
    },
    &quot;exclude&quot;: [&quot;node_modules&quot;, &quot;**/node_modules/*&quot;]
  }
  </code></pre>
  <p>I wonder why <code>**/node_modules/*</code> is needed if I'm already adding the plain <code>node_modules</code> folder.</p>