title: Share typescript module with every package in a monorepo
body: <p>I have a monorepo of react components that are built using styled-components, getting their themes from a theme provider.</p>
  <pre><code>declare module 'styled-components' {
    export interface DefaultTheme {
      colours: Colours;
      spacing: Spacing;
      breakpoints: Breakpoints;
    }
  }
  </code></pre>
  <p>The above currently lives in my root types folder <code>&lt;root&gt;/types/styled.d.ts</code></p>
  <p>However, I have about 20 component packages, and growing.</p>
  <p>When I include the above file in my components src directory, my intellisense works.</p>
  <p><code>&lt;root&gt;/components/[component name]/src/[src files + styled.d.ts]</code></p>
  <p>However, including the same file in every single package seems overkill?</p>
  <p>Is there a way, maybe using tsconfig? To tell my package to use the above module from my root types folder instead?</p>
  <p>Thanks!</p>
  <p>Edit:</p>
  <p>I've updated my files to import like so:
  <code>import '@common-types/styled';</code></p>
  <p>This works as expected - Is the the right way to do this?</p>