title: TypeScript: Can I declare that an interface may have any number of further attributes?
body: <p>Is it possible to express "instances of this interface have a number called 'num', a function called 'func' and may have any number of more attribute with unspecified name that are of type string" in TypeScript? <strong>I imagine</strong> it might look like this:</p>
  
  <pre class="lang-typescript prettyprint-override"><code>interface MyInterface {
    num: number;
    func: Function;
    *: string;
  }
  </code></pre>
  
  <p>You probably want to tell me that this is poor API-Design, but I am writing definition files for a 3rd party library and I cannot change that :-(.</p>