refactor(safari-view-controller): hide returns promise

This commit is contained in:
Ibby Hadeed 2017-03-03 01:13:57 -05:00 committed by GitHub
parent 3500d80b9c
commit 27fdce7af2

View File

@ -81,7 +81,7 @@ export class SafariViewController {
* Hides Safari View Controller * Hides Safari View Controller
*/ */
@Cordova() @Cordova()
static hide(): void { } static hide(): Promise<any> { return; }
/** /**
* Tries to connect to the Chrome's custom tabs service. you must call this method before calling any of the other methods listed below. * Tries to connect to the Chrome's custom tabs service. you must call this method before calling any of the other methods listed below.