Make the types happy

This commit is contained in:
Travis Ralston 2020-09-04 22:02:18 -06:00
parent 69745bbd40
commit 2fa8b0f8b2

View File

@ -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 {