title: Compile errors in react-native-fs
body: <p>I am building a small react app the has a main front page and can show static html pages. My plan is to store the static html pages as html files and load them passed on parameters in the URL.</p>
  
  <p>I am trying to use react-native-fs to access the html files in my react app but it fails to compile of the during the import:</p>
  
  <p><code>import fs from "react-native-fs";</code></p>
  
  <p>The error I receive is:</p>
  
  <pre><code>./node_modules/react-native-fs/FS.common.js
  SyntaxError: .../node_modules/react-native-fs/FS.common.js: Unexpected token, expected "," (30:29)
  
    28 | };
    29 | 
  &gt; 30 | var normalizeFilePath = (path: string) =&gt; (path.startsWith('file://') ? path.slice(7) : path);
       |                              ^
    31 | 
    32 | type MkdirOptions = {
    33 |   NSURLIsExcludedFromBackupKey?: boolean; // iOS only
  
  </code></pre>
  
  <p>I'm using react v16.12.0 and react-native-fs v2.16.2</p>
  
  <p>I have tried changing the version of react-native-fs, reinstalling it, deleting node modules and reinstall again. I'm not sure what to do. I am open to using other libraries but I've already had trouble getting fetch to work.</p>