JSDoc: Is there way to use @protected tag together with class inheritance?
With following code, appears warning on "Unused method _someMethod".
Is there way to use @protected tag together with class inheritance?
class ParentClass{
/** @protected */
_someMethod(){ }
otherMethod(){
this._someMethod();
}
}
class ChildClass extends ParentClass{
_someMethod(){
super._someMethod();
}
}
let child = new ChildClass();
child.otherMethod();
Please sign in to leave a comment.
please follow https://youtrack.jetbrains.com/issue/WEB-25273 for updates