title: how to use .env file in a react js with typescript project?
body: <p>I have a react js project , but with typescript. I understand we can create .env file and have some configuration defined as such,</p>
  <p>.env file</p>
  <pre><code>REACT_APP_SOME_CONFIGURATION = &quot;some value&quot; 
  </code></pre>
  <p>and use it in the code , without importing anything , like below</p>
  <pre><code>const configValue = process.env.REACT_APP_SOME_CONFIGURATION 
  </code></pre>
  <p>I tried this set up in my project , and it didn't work. is it because it is typescript? how to use .env file in such scenario.</p>