mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Update return type for getThread prop
This commit is contained in:
parent
4b96a81bbe
commit
01d61786f1
1 changed files with 3 additions and 2 deletions
|
@ -37,11 +37,12 @@ import { MediaEventHelper } from "../../../utils/MediaEventHelper";
|
||||||
import DownloadActionButton from "./DownloadActionButton";
|
import DownloadActionButton from "./DownloadActionButton";
|
||||||
import SettingsStore from '../../../settings/SettingsStore';
|
import SettingsStore from '../../../settings/SettingsStore';
|
||||||
import { RoomPermalinkCreator } from '../../../utils/permalinks/Permalinks';
|
import { RoomPermalinkCreator } from '../../../utils/permalinks/Permalinks';
|
||||||
|
import ReplyThread from '../elements/ReplyThread';
|
||||||
|
|
||||||
interface IOptionsButtonProps {
|
interface IOptionsButtonProps {
|
||||||
mxEvent: MatrixEvent;
|
mxEvent: MatrixEvent;
|
||||||
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
||||||
getReplyThread: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
getReplyThread: () => ReplyThread;
|
||||||
permalinkCreator: RoomPermalinkCreator;
|
permalinkCreator: RoomPermalinkCreator;
|
||||||
onFocusChange: (menuDisplayed: boolean) => void;
|
onFocusChange: (menuDisplayed: boolean) => void;
|
||||||
}
|
}
|
||||||
|
@ -130,7 +131,7 @@ interface IMessageActionBarProps {
|
||||||
reactions?: any;
|
reactions?: any;
|
||||||
permalinkCreator?: RoomPermalinkCreator;
|
permalinkCreator?: RoomPermalinkCreator;
|
||||||
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
||||||
getReplyThread?: () => JSX.Element;
|
getReplyThread?: () => ReplyThread;
|
||||||
onFocusChange?: (menuDisplayed: boolean) => void;
|
onFocusChange?: (menuDisplayed: boolean) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue