mirror of https://github.com/vector-im/riot-web
Make the types happy
parent
69745bbd40
commit
2fa8b0f8b2
|
@ -69,7 +69,7 @@ let widgetApi: WidgetApi;
|
|||
readyPromise = Promise.all([
|
||||
widgetApi.waitFor<CustomEvent<IWidgetApiRequest>>("im.vector.ready")
|
||||
.then(ev => widgetApi.transport.reply(ev.detail, {})),
|
||||
widgetApi.waitFor("ready"),
|
||||
widgetApi.waitFor("ready").then<void>(),
|
||||
]);
|
||||
widgetApi.start();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue