title: Use one property of a Typescript interface in an other interface
body: <p>Suppose I have a Typescript Interface as follows</p>
  
  <pre><code>export interface IMyObj {
      id: string;
      type: 'AA' | 'AZ' | 'XY';
      ...
  }
  </code></pre>
  
  <p>Now I need an other interface which also has that <code>type</code> field</p>
  
  <pre><code>export interface IMyOtherObj {
      ...
      type: 'AA' | 'AZ' | 'XY';
      ...
  }
  </code></pre>
  
  <p>As you can see I have duplicated the values of <code>type</code>. So my question is, how can I reuse <code>IMyObj.type</code> in my <code>IMyOtherObj</code> interface? I tried this</p>
  
  <pre><code>export interface IMyOtherObj {
      ...
      type: IMyObj.type; // -&gt; error
      ...
  }
  </code></pre>
  
  <p>I think I'm close but so far no luck, any suggestions?</p>