title: Can't Resolved Local TS Module In Node / React Project
body: <p>So I've got a project structure that looks like:</p>
  <pre><code>src/
  ├── App 
  ├── Components
      ├── button
      │   ├── Button.tsx
      │   ├── index.ts
      ├── index.ts
  types
  ├── index.d.ts
  ├── Button
  │   ├── index.d.ts
  </code></pre>
  <p>My tsconfig looks like:</p>
  <pre><code>{
    &quot;compilerOptions&quot;: {
      &quot;target&quot;: &quot;ESNext&quot;,
      &quot;useDefineForClassFields&quot;: true,
      &quot;lib&quot;: [&quot;DOM&quot;, &quot;DOM.Iterable&quot;, &quot;ESNext&quot;],
      &quot;allowJs&quot;: false,
      &quot;skipLibCheck&quot;: true,
      &quot;esModuleInterop&quot;: false,
      &quot;allowSyntheticDefaultImports&quot;: true,
      &quot;strict&quot;: false,
      &quot;forceConsistentCasingInFileNames&quot;: true,
      &quot;module&quot;: &quot;ESNext&quot;,
      &quot;strictNullChecks&quot;: false,
      &quot;moduleResolution&quot;: &quot;node&quot;,
      &quot;resolveJsonModule&quot;: true,
      &quot;isolatedModules&quot;: true,
      &quot;noEmit&quot;: true,
      &quot;jsx&quot;: &quot;react-jsx&quot;,
      &quot;baseUrl&quot;: &quot;./src&quot;
    },
    &quot;paths&quot;: {
        &quot;@lib/*&quot;: [
            &quot;./src/lib/*&quot;
        ],
        &quot;@types/*&quot;: [
            &quot;./src/types/*&quot;
        ]
    },
    &quot;include&quot;: [&quot;src&quot;],
    &quot;references&quot;: [{ &quot;path&quot;: &quot;./tsconfig.node.json&quot; }]
  }
  </code></pre>
  <p>I want to use the types exported from <code>./src/types</code> in the <code>Button.tsx</code> component like:</p>
  <pre><code>import { ButtonProps } from '@types';
  </code></pre>
  <p>But it tells me it kind find the module or types definitions (intellisense error)</p>