title: const can only be used in a .ts file react native
body: <pre><code>const ACCESS_TOKEN = 'access_token';
  
  react-native-cli: 2.0.1
  react-native: 0.47.2
  </code></pre>
  
  <p>I am watching a tutorial video in which the expert get the value from the api and stored it inside the const ACCESS_TOKEN but when i am doing it in my code it gives me an error</p>
  
  <blockquote>
    <p>const can only be used in a .ts file react native</p>
  </blockquote>
  
  <p>Please suggest.</p>