title: Typescript extend two interfaces like type?
body: <p>After reviewing <a href="https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-aliases" rel="nofollow noreferrer">the documentation</a> and this <a href="https://stackoverflow.com/questions/53135199/typescript-interface-cannot-simultaneously-extends-two-types">SO Question</a> it looks like the behavior I am looking for is the following:</p>
  <pre><code>type A = {
    a:string
  };
  type B = {
    b:string
  };
  
  type C = A &amp; B &amp; {
     c:string
  };
  </code></pre>
  <p>My question is: Can the same behavior be done with interfaces in a single line?</p>