Environment Variables TypeScript : <p>let's say I have a block of code that I'd like to only be present (or run) in a staging environment. I've set an environment variable in that enivronment (say, ENV = 'staging'), is there a way for TypeScript to access that variable during compilation?</p>

<p>example: </p>

<p><code>if (Enivronment['ENV'] == 'staging') console.log('testing');</code></p>

<p>which would compile to (the redundant, but efffective) <code>if ('staging' == 'staging') ...</code> on the above environment? </p>
