title: How to represent a variable key name in typescript interface?
body: <pre><code>interface Items {
      id: Item,
  }
  </code></pre>
  
  <p>id is not optional but it will have different name </p>
  
  <p>for example:</p>
  
  <pre><code>let items = {
  34433ded : {name: "foo", price: 0.99},
  14d433dee : {name: "bar", price: 1.99},
  }
  </code></pre>