Closed as not planned
Description
TypeScript Version: 2.4.1
Salsa engine does not understand ES3 prototype inheritance.
Code
function A() {
}
A.prototype.hello = function (){
};
function B() {
A.call(this);
}
B.prototype = Object.create(A.prototype);
B.prototype.constructor = B;
var b = new B();
b.[request completions]
Expected behavior:
It should show the list of methods inherited from A
, like hello()
.
Actual behavior:
It does not show the methods from A
.