title: Cannot find module 'react'.ts(2307)
body: <p>I'm attempting to create a react app using TypeScript. I did yarn create react-app (name) --use-pnp --typescript.</p>
  
  <p>The TS linter keeps saying that Cannot find module 'react'.ts(2307)
  I've tried yarn add @types/react, yarn add, restarting VScode etc.</p>
  
  <pre><code>import React, { Component } from 'react';
  import './App.css';
  
  interface IAppState {
  }
  
  interface IAppProps {
  }
  
  class App extends React.Component&lt;IAppProps, IAppState&gt; {
    constructor(props: IAppState) {
    super(props);
    this.state = {
    };
    }
  
  
    render() {
      return (
        &lt;div className='App'&gt;
          &lt;h1&gt;Image classification with ML5.js&lt;/h1&gt;
        &lt;/div&gt;
      );
    }
  }
  
  export default App;
  
  </code></pre>
  
  <p>my package.json</p>
  
  <pre><code>{
    "name": "image-recognition",
    "version": "0.1.0",
    "private": true,
    "installConfig": {
      "pnp": true
    },
    "dependencies": {
      "@types/jest": "24.0.13",
      "@types/node": "12.0.2",
      "@types/react": "^16.8.17",
      "@types/react-dom": "^16.8.4",
      "react": "^16.8.6",
      "react-dom": "^16.8.6",
      "react-scripts": "3.0.1",
      "typescript": "3.4.5"
    },
    "scripts": {
      "start": "react-scripts start",
      "build": "react-scripts build",
      "test": "react-scripts test",
      "eject": "react-scripts eject"
    },
    "eslintConfig": {
      "extends": "react-app"
    },
    "browserslist": {
      "production": [
        "&gt;0.2%",
        "not dead",
        "not op_mini all"
      ],
      "development": [
        "last 1 chrome version",
        "last 1 firefox version",
        "last 1 safari version"
      ]
    }
  }
  
  </code></pre>
  
  <p>my tsconfig.json:</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "es5",
      "lib": [
        "dom",
        "dom.iterable",
        "esnext"
      ],
      "allowJs": true,
      "skipLibCheck": true,
      "esModuleInterop": true,
      "allowSyntheticDefaultImports": true,
      "strict": true,
      "forceConsistentCasingInFileNames": true,
      "module": "esnext",
      "moduleResolution": "node",
      "resolveJsonModule": true,
      "isolatedModules": true,
      "noEmit": true,
      "jsx": "preserve"
    },
    "include": [
      "src"
    ]
  }
  </code></pre>
  
  <p>I've tried yarn add @types/react, yarn add, restarting VScode etc.</p>