mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Make the types happy
This commit is contained in:
parent
69745bbd40
commit
2fa8b0f8b2
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user