Я хочу переопределить jsdoc для функции, которая наследуется от базового класса.
функция добавляет параметр в базовую функцию.
parent:
export default class Base {
/**
* Function apply().
*
* Apply the hook.
*
* @param {{}} args
*
* @returns {Boolean}
*/
apply( args ) {
throw Error( 'apply() must be implanted.' );
}
}
child:
export default class Child extends Base {
/**
* how to override jsdoc and point out that i
* have added containers param?
*/
apply( args, containers ) {
}
}