mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
Fix typechecking
This commit is contained in:
parent
e9b8cfbd9e
commit
c0306b45a6
@ -21,7 +21,9 @@ function noop (): void {}
|
||||
export class NullLogger implements ILogger {
|
||||
public readonly item: ILogItem = new NullLogItem(this);
|
||||
|
||||
log(): void {}
|
||||
log(): ILogItem {
|
||||
return this.item;
|
||||
}
|
||||
|
||||
addReporter() {}
|
||||
|
||||
|
@ -80,7 +80,7 @@ export class CallView extends TemplateView<CallViewModel> {
|
||||
|
||||
public unmount() {
|
||||
if (this.resizeObserver) {
|
||||
this.resizeObserver.unobserve((this.root()! as Element).querySelector(".CallView_members"));
|
||||
this.resizeObserver.unobserve((this.root()! as Element).querySelector(".CallView_members")!);
|
||||
this.resizeObserver = undefined;
|
||||
}
|
||||
super.unmount();
|
||||
|
Loading…
x
Reference in New Issue
Block a user