fix(safari-view-controller): fix issue caused by calling show without options

This commit is contained in:
Ibby 2017-01-31 04:14:28 -05:00
parent 613141998a
commit dc37d8f71c

View File

@ -71,7 +71,10 @@ export class SafariViewController {
* @param options {SafariViewControllerOptions} optional
* @returns {Promise<any>}
*/
@Cordova()
@Cordova({
successIndex: 1,
errorIndex: 2
})
static show(options?: SafariViewControllerOptions): Promise<any> { return; }
/**