Add comments for missing types in MessageActionBar

This commit is contained in:
Germain Souquet 2021-09-07 09:12:38 +01:00
parent 01d61786f1
commit 9cbf8717e2

View file

@ -90,7 +90,7 @@ const OptionsButton: React.FC<IOptionsButtonProps> =
interface IReactButtonProps { interface IReactButtonProps {
mxEvent: MatrixEvent; mxEvent: MatrixEvent;
reactions: any; reactions: any; // TODO: types
onFocusChange: (menuDisplayed: boolean) => void; onFocusChange: (menuDisplayed: boolean) => void;
} }
@ -128,7 +128,7 @@ const ReactButton: React.FC<IReactButtonProps> = ({ mxEvent, reactions, onFocusC
interface IMessageActionBarProps { interface IMessageActionBarProps {
mxEvent: MatrixEvent; mxEvent: MatrixEvent;
// The Relations model from the JS SDK for reactions to `mxEvent` // The Relations model from the JS SDK for reactions to `mxEvent`
reactions?: any; reactions?: any; // TODO: types
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?: () => ReplyThread; getReplyThread?: () => ReplyThread;