pan>: <span class="tm-typ"><span class="interfaceName">Node</span></span>):<span class="tm-typ"> <span class="typeParameterName">T</span> </span>{
  <span class="tm-vr">node</span>.<span class="tm-vr">parent</span> = <span class="tm-vr">parent</span>;
  <span class="tm-kw">return</span> <span class="tm-vr">node</span>;
}<a class="playground-link" href="https://www.typescriptlang.org/play/#src=interface%20Node%20%7B%0A%20%20parent%3A%20Node%3B%0A%20%20pos%3A%20number%3B%0A%20%20kind%3A%20number%3B%0A%7D%0Afu