mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
add jsdoc to indicate possibility to use getContent async
This commit is contained in:
parent
dfa30358c5
commit
65c725c21e
@ -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() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user