typescript return type of inherited class : <p>This is what I'm trying to do:</p>

<pre><code>class Base{
    clone(){
        //return new instance of the inherited  class 
    }
}

class Derived extends Base{
}

const d1=new Derived();
const d2=d2.clone; // I want d2 to be of type Derived
</code></pre>

<p>What should be the the return type of the clone method for d2 to be of type Derived?</p>
