title: How to use React with Typescript and SASS
body: <p>I am bootstrapping my app using the <a href="https://github.com/facebook/create-react-app" rel="noreferrer">create-react-app</a> and I want to develop using Typescript and SASS. I have been using Angular before where I could easily reference the SASS file like this:</p>
  
  <pre><code>@Component({
    selector: 'unit-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.scss'],
    providers: []
  })
  </code></pre>
  
  <p>In React I am trying to import the SASS file like this:</p>
  
  <pre><code>import s from "./mystyles.scss";
  </code></pre>
  
  <p>But I am getting the error </p>
  
  <blockquote>
    <p>Cannot find module "./mystyles.scss"</p>
  </blockquote>
  
  <p>.
  How can I import the SASS file into the .tsx file?</p>