add jsdoc to indicate possibility to use getContent async

This commit is contained in:
Tom 2022-05-09 16:14:03 +02:00
parent dfa30358c5
commit 65c725c21e

View File

@ -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() {}