Fix typechecking

This commit is contained in:
Robert Long 2022-10-18 13:43:19 -07:00
parent e9b8cfbd9e
commit c0306b45a6
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,9 @@ function noop (): void {}
export class NullLogger implements ILogger { export class NullLogger implements ILogger {
public readonly item: ILogItem = new NullLogItem(this); public readonly item: ILogItem = new NullLogItem(this);
log(): void {} log(): ILogItem {
return this.item;
}
addReporter() {} addReporter() {}

View File

@ -80,7 +80,7 @@ export class CallView extends TemplateView<CallViewModel> {
public unmount() { public unmount() {
if (this.resizeObserver) { 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; this.resizeObserver = undefined;
} }
super.unmount(); super.unmount();