title: Importing audio files in TypeScript
body: <p>I'm having trouble importing an audio file in my TypeScript/React app (made with create-react-app).</p>
  <p>I'm trying to import the file like this:</p>
  <pre><code>import note from &quot;./audio/note1s.mp3&quot;;
  </code></pre>
  <p>But I'm receiving the TypeScript error that says:</p>
  <blockquote>
  <p>Cannot find module './audio/note1s.mp3' or its corresponding type declarations.</p>
  </blockquote>
  <p>If I add <code>// @ts-ignore</code> above that line to ignore the error, the code runs fine and I'm able to use the file as expected.</p>
  <p>How can I configure my project to get rid of these errors? I'm fairly new to TypeScript so I'm sure there is something I'm missing. I don't want to have add in those <code>@ts-ignore</code> lines every time I'm importing files.</p>