From 65c725c21eae355c72b5cf1104740ada22afe33d Mon Sep 17 00:00:00 2001 From: Tom <7283497+thfrei@users.noreply.github.com> Date: Mon, 9 May 2022 16:14:03 +0200 Subject: [PATCH] add jsdoc to indicate possibility to use getContent async --- src/public/app/widgets/type_widgets/type_widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/app/widgets/type_widgets/type_widget.js b/src/public/app/widgets/type_widgets/type_widget.js index faa1ff98a..f3dd88317 100644 --- a/src/public/app/widgets/type_widgets/type_widget.js +++ b/src/public/app/widgets/type_widgets/type_widget.js @@ -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() {}