diff --git a/react/features/base/dialog/components/native/BaseDialog.js b/react/features/base/dialog/components/native/BaseDialog.js index d5d01498a..2657a1d9c 100644 --- a/react/features/base/dialog/components/native/BaseDialog.js +++ b/react/features/base/dialog/components/native/BaseDialog.js @@ -73,7 +73,7 @@ class BaseDialog extends AbstractDialog { _onCancel: () => void; - _onSubmit: () => boolean; + _onSubmit: ?string => boolean; /** * Renders the content of the dialog. diff --git a/react/features/base/dialog/components/native/InputDialog.js b/react/features/base/dialog/components/native/InputDialog.js index 9ed9ea660..e50233580 100644 --- a/react/features/base/dialog/components/native/InputDialog.js +++ b/react/features/base/dialog/components/native/InputDialog.js @@ -85,7 +85,7 @@ class InputDialog extends BaseDialog { { }); } - _onSubmit: ?string => boolean; + _onSubmit: (?string) => boolean; _onSubmitValue: () => boolean;