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