mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
add jsdoc to indicate possibility to use getContent async
This commit is contained in:
@@ -39,7 +39,7 @@ export default class TypeWidget extends NoteContextAwareWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FIXME: add async here to indicate promise?
|
* @returns {Promise|*} promise resolving content or directly the content
|
||||||
*/
|
*/
|
||||||
getContent() {}
|
getContent() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user