Skip to content

Commit 01d6178

Browse files
author
Germain Souquet
committed
Update return type for getThread prop
1 parent 4b96a81 commit 01d6178

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/views/messages/MessageActionBar.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ import { MediaEventHelper } from "../../../utils/MediaEventHelper";
3737
import DownloadActionButton from "./DownloadActionButton";
3838
import SettingsStore from '../../../settings/SettingsStore';
3939
import { RoomPermalinkCreator } from '../../../utils/permalinks/Permalinks';
40+
import ReplyThread from '../elements/ReplyThread';
4041

4142
interface IOptionsButtonProps {
4243
mxEvent: MatrixEvent;
4344
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
44-
getReplyThread: () => any; // TODO: FIXME, haven't figured out what the return type is here
45+
getReplyThread: () => ReplyThread;
4546
permalinkCreator: RoomPermalinkCreator;
4647
onFocusChange: (menuDisplayed: boolean) => void;
4748
}
@@ -130,7 +131,7 @@ interface IMessageActionBarProps {
130131
reactions?: any;
131132
permalinkCreator?: RoomPermalinkCreator;
132133
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
133-
getReplyThread?: () => JSX.Element;
134+
getReplyThread?: () => ReplyThread;
134135
onFocusChange?: (menuDisplayed: boolean) => void;
135136
}
136137

0 commit comments

Comments
 (0)