From 17506f76bfe314508f14445de5e4fdccef409463 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 1 Aug 2024 13:14:47 +0100 Subject: [PATCH] Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/messages/MFileBody.tsx | 2 -- src/models/Call.ts | 4 ++-- test/test-utils/call.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/views/messages/MFileBody.tsx b/src/components/views/messages/MFileBody.tsx index f5dfec155e3..d7542b97407 100644 --- a/src/components/views/messages/MFileBody.tsx +++ b/src/components/views/messages/MFileBody.tsx @@ -110,8 +110,6 @@ export default class MFileBody extends React.Component { public state: IState = {}; - public state: IState = {}; - public static defaultProps = { showGenericPlaceholder: true, }; diff --git a/src/models/Call.ts b/src/models/Call.ts index fc23ef9d573..658cb780487 100644 --- a/src/models/Call.ts +++ b/src/models/Call.ts @@ -126,8 +126,8 @@ interface CallEventHandlerMap { * A group call accessed through a widget. */ export abstract class Call extends TypedEventEmitter { - protected readonly widgetUid; - protected readonly room; + protected readonly widgetUid: string; + protected readonly room: Room; /** * The time after which device member state should be considered expired. diff --git a/test/test-utils/call.ts b/test/test-utils/call.ts index 5aeb466244f..21672b98867 100644 --- a/test/test-utils/call.ts +++ b/test/test-utils/call.ts @@ -68,7 +68,7 @@ export class MockedCall extends Call { CallStore.instance.updateRoom(room); } - public readonly groupCall; + public readonly groupCall: GroupCall; public get participants(): Map> { return super.participants;