improvements in API docs generation

This commit is contained in:
zadam
2023-01-05 23:38:41 +01:00
parent 19f4870280
commit d7cae7d5bb
30 changed files with 189 additions and 138 deletions

View File

@@ -38,17 +38,17 @@ class SBranch extends AbstractShacaEntity {
this.shaca.childParentToBranch[`${this.noteId}-${this.parentNoteId}`] = this;
}
/** @return {SNote} */
/** @returns {SNote} */
get childNote() {
return this.shaca.notes[this.noteId];
}
/** @return {SNote} */
/** @returns {SNote} */
getNote() {
return this.childNote;
}
/** @return {SNote} */
/** @returns {SNote} */
get parentNote() {
return this.shaca.notes[this.parentNoteId];
}

View File

@@ -200,7 +200,7 @@ class SNote extends AbstractShacaEntity {
return this.__attributeCache;
}
/** @return {SAttribute[]} */
/** @returns {SAttribute[]} */
__getInheritableAttributes(path) {
if (path.includes(this.noteId)) {
return [];