title: Enviroment variable at React Native does not working using TypeScript
body: <p>I added the <code>react-native-dotenv</code> library and followed the <a href="https://www.npmjs.com/package/react-native-dotenv" rel="nofollow noreferrer">guide</a> using TypeScript.</p>
  <p>I created a <code>.env</code> file</p>
  <pre><code>MARVEL_API = &lt;url&gt;
  MARVEL_PUBLIC_KEY = &lt;public-key&gt;
  MARVEL_PRIVATE_KEY = &lt;private-key&gt;
  </code></pre>
  <p>I added this options at <code>babel.config.js</code> file at the <code>presets</code></p>
  <pre><code>'module:react-native-dotenv',
      {
        moduleName: '@env',
        path: '.env',
        whitelist: ['MARVEL_API', 'MARVEL_PUBLIC_KEY', 'MARVEL_PRIVATE_KEY'],
        safe: false,
        allowUndefined: true,
      },
  </code></pre>
  <p>I created a <code>types</code> folder with the <code>end.d.ts</code> file and I declared the @env as</p>
  <pre><code>declare module '@env' {
    export const MARVEL_API: string;
    export const MARVEL_PUBLIC_KEY: string;
    export const MARVEL_PRIVATE_KEY: string;
  }
  </code></pre>
  <p>Whe I saved the files, launched this error:</p>
  <pre><code>error: index.js: [BABEL] /home/vagner/Documents/www/objective/index.js: Unknown option: .name. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
  </code></pre>
  <p>I saw to write <code>yarn start --reset-cache</code> but it did not work.</p>