1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-29 17:38:04 +01:00

return promise on safari send message

This commit is contained in:
Kyle Spearrin 2018-01-12 13:25:29 -05:00
parent bb2b750905
commit 347b1d2910

View File

@ -81,7 +81,7 @@ class BrowserApi {
return BrowserApi.tabSendMessage(tab, obj);
}
static tabSendMessage(tab: any, obj: any): Promise<any[]> {
static tabSendMessage(tab: any, obj: any): Promise<any> {
if (!tab || !tab.id) {
return;
}
@ -93,7 +93,7 @@ class BrowserApi {
});
});
} else if (BrowserApi.isSafariApi) {
// TODO
return Promise.resolve(); // TODO
}
}