Make the types happy

pull/15102/head
Travis Ralston 2020-09-04 22:02:18 -06:00
parent 69745bbd40
commit 2fa8b0f8b2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ let widgetApi: WidgetApi;
readyPromise = Promise.all([ readyPromise = Promise.all([
widgetApi.waitFor<CustomEvent<IWidgetApiRequest>>("im.vector.ready") widgetApi.waitFor<CustomEvent<IWidgetApiRequest>>("im.vector.ready")
.then(ev => widgetApi.transport.reply(ev.detail, {})), .then(ev => widgetApi.transport.reply(ev.detail, {})),
widgetApi.waitFor("ready"), widgetApi.waitFor("ready").then<void>(),
]); ]);
widgetApi.start(); widgetApi.start();
} else { } else {