mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 22:35:50 +01:00
improvements in API docs generation
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ class SNote extends AbstractShacaEntity {
|
||||
return this.__attributeCache;
|
||||
}
|
||||
|
||||
/** @return {SAttribute[]} */
|
||||
/** @returns {SAttribute[]} */
|
||||
__getInheritableAttributes(path) {
|
||||
if (path.includes(this.noteId)) {
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user