title: Extending Array in TypeScript
body: <p>How to add a method to a base type, say Array? In the global module this will be recognized</p>
  
  <pre><code>interface Array {
     remove(o): Array;
  }
  </code></pre>
  
  <p>but where to put the actual implementation?</p>