title: Convert an object interface to a typed array with the correct index order in Typescript
body: <p>Is there a more programmatic way to achieve something like this?</p>
  <pre><code>interface objType {
      prop1: {...};
      prop2: {...};
      prop3: {...}
  }
  
  type arrayType = [objType['prop1'], objType['prop2'], objType['prop3']];
  </code></pre>
  <p>Ideally I don't want to have to update the <code>arrayType</code> whenever another property is added to <code>objType</code></p>