title: TypeScript: is there an interface for array-like object?
body: <p>Suppose I know that I have array like <code>['string', 10, true];</code>. Is there a way to write an interface for it? I know there's globally indexed interface:</p>
  
  <pre><code>interface IEntry {
      [i:number]:string;
  }
  </code></pre>
  
  <p>But typing the following is not working:</p>
  
  <pre><code>interface IEntry {
      [0]:string;
      [1]:number;
      [2]:boolean;
  }
  </code></pre>