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;