From 39ecc6cc6d60847ee201020ea2533fc003686a70 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Mon, 25 Apr 2022 11:27:33 +0200 Subject: [PATCH] WIP typing errors --- src/platform/web/ui/session/room/CallView.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/web/ui/session/room/CallView.ts b/src/platform/web/ui/session/room/CallView.ts index 1c847cbb..95d9c027 100644 --- a/src/platform/web/ui/session/room/CallView.ts +++ b/src/platform/web/ui/session/room/CallView.ts @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {TemplateView, TemplateBuilder} from "../../general/TemplateView"; +import {TemplateView, Builder} from "../../general/TemplateView"; import {ListView} from "../../general/ListView"; import {Stream} from "../../../../types/MediaDevices"; import {getStreamVideoTrack, getStreamAudioTrack} from "../../../../../matrix/calls/common"; @@ -38,7 +38,7 @@ function bindStream(t: TemplateBuilder, video: HTMLVideoElement, propSelec } export class CallView extends TemplateView { - render(t: TemplateBuilder, vm: CallViewModel): HTMLElement { + render(t: Builder, vm: CallViewModel): Element { return t.div({class: "CallView"}, [ t.p(vm => `Call ${vm.name} (${vm.id})`), t.div({class: "CallView_me"}, bindStream(t, t.video({autoplay: true, width: 240}), vm => vm.localStream)),