tern
tern copied to clipboard
Child class object misses parent's constructor args
JS: Ecma 2016.
Actual
In code completion (I tried both eclipse plugin and atom ones) I able to see base class' constructor args, but not child. Child class is shown as it dont' has any args.
class Base {
constructor(arg1) {
}
}
class Child extends Base {}
new Base(arg1);
new Child();
Expected
To see parent's constructor args in child class:
new Child(arg1);