title: How to refresh monorepo TypeScript types in VS Code without reloading the window
body: <p>I have an open source project called <a href="https://react-querybuilder.js.org" rel="nofollow noreferrer"><code>react-querybuilder</code></a> that is maintained as a <a href="https://github.com/react-querybuilder/react-querybuilder" rel="nofollow noreferrer">monorepo</a>. Most of the TypeScript type definitions live in the <a href="https://github.com/react-querybuilder/react-querybuilder/tree/main/packages/ts" rel="nofollow noreferrer"><code>ts</code> package</a>.</p>
  <p>When I have a file open in VS Code for one of the other packages that imports a type from <code>@react-querybuilder/ts</code>, the types seemed to be cached based on the <code>packages/ts/dist</code> folder at the time VS Code launches.</p>
  <p>When I make an update to a type in the <code>ts</code> folder and rebuild the <code>@react-querybuilder/ts</code> package, the change is not automatically applied to the other projects, even if I close and reopen all the files.</p>
  <p>The only way I have found to update the types cache is to reload the VS Code window. Unfortunately my work computer is old and not built as a great developer machine, so this can take some time. Is there a way to refresh the types without completely reloading the window?</p>