Enable strictFunctionTypes (#11201)

This commit is contained in:
Michael Telatynski
2023-07-07 13:37:26 +01:00
committed by GitHub
parent 40de66424d
commit 4207d182cd
30 changed files with 245 additions and 258 deletions

View File

@@ -39,9 +39,9 @@ export interface IBodyProps {
maxImageHeight?: number;
replacingEventId?: string;
editState?: EditorStateTransfer;
onMessageAllowed: () => void; // TODO: Docs
onMessageAllowed?: () => void; // TODO: Docs
permalinkCreator?: RoomPermalinkCreator;
mediaEventHelper: MediaEventHelper;
mediaEventHelper?: MediaEventHelper;
/*
If present and `true`, the message has been marked as hidden pending moderation