-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Support ES5-style inheritance with Object.create (Salsa) #18609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmmm. 😄 |
As a matter of fact, we don't support the |
The support of |
Ran into this issue recently. Any updates? Might try to make a pull request myself if anyone can point me in the right direction in the code. |
There are two pieces to this:
Instead implementing |
This doesn't seem common enough in modern JS to bother adding support for at this point. |
TypeScript Version: 2.4.1
Salsa engine does not understand ES3 prototype inheritance.
Code
Expected behavior:
It should show the list of methods inherited from
A
, likehello()
.Actual behavior:
It does not show the methods from
A
.The text was updated successfully, but these errors were encountered: