title: Selecting a type value in an interface or type object
body: <p>How do I get a nested type object inside an interface or parent type?</p>
  
  <pre><code>interface IFake {
    button: {
      height: {
        dense: number;
        standard: number;
      };
    };
    otherStuff: string;
  }
  
  type Button = Pick&lt;IFake, 'button'&gt;
  
  const aFunction = (button: Button) =&gt; button.height.dense
  </code></pre>
  
  <p>What I get:</p>
  
  <pre><code>// Button type is {
  //   button: {
  //     height: ...
  //   }
  // }
  </code></pre>
  
  <p>What I want:</p>
  
  <pre><code>// Button type is { height: ... }
  </code></pre>