title: TypeScript Generic Method Signature in Interface
body: <p>I am trying to define an interface with a few methods, and I would like one of the methods to be generic.</p>
  
  <p>It is a <code>filterUnique</code> method, so it should be able to filter lists of numbers, strings, etc.</p>
  
  <p>the following does not compile for me:</p>
  
  <pre><code>export interface IGenericServices {
      filterUnique(array: Array&lt;T&gt;): Array&lt;T&gt;;
  }
  </code></pre>
  
  <p>Is there a way to make this compile, or am I making a conceptual mistake somewhere here?</p>
  
  <p>Cheers!</p>