Exported class with a parent, decorator and self-referential static properties fails at runtime with "Object.setPrototypeOf called on null or undefined" #16506
Labels
Duplicate
An existing issue was already created
TypeScript Version: 2.5.0-dev.20170613
Code
Expected behavior:
Should compile and run.
Actual behavior:
With target ES5, this compiles into:
And fails at runtime with
Object.setPrototypeOf called on null or undefined
in the__extends
helper.Compiled with
2.3.4
:The text was updated successfully, but these errors were encountered: