title: TypeScript error: __lib.d.ts(1235,5): Error TS2300: Duplicate identifier 'buffer'
body: <p>I'm trying to build BrowserFS (<a href="https://github.com/jvilk/BrowserFS" rel="nofollow">github</a>) but if I use <code>grunt</code> command I receive this error:</p>
  
  <pre><code>~/nodejs/sourse/BrowserFS$ grunt
  Running "main.ts" task
  
  Running "browserify:browserfs" (browserify) task
  &gt;&gt; TypeScript error: __lib.d.ts(1235,5): Error TS2300: Duplicate identifier 'buffer'.
  Warning: Error running grunt-browserify. Use --force to continue.
  
  Aborted due to warnings.
  </code></pre>
  
  <p>It doesn't matter which  OS I'm using. I've tried typescripts for different versions.</p>
  
  <p>How to avoid this error?</p>