Changed SafariViewController show return type (#228)

Changed it to `Promise<any>` as in the example. Was `void`.
This commit is contained in:
Francis Clavette 2016-06-16 05:06:54 -04:00 committed by Ibrahim Hadeed
parent 9e0f569eba
commit e8a108d92d

View File

@ -59,7 +59,7 @@ export class SafariViewController {
@Cordova({
callbackOrder: 'reverse'
})
static show(options?: SafariViewControllerOptions): void {}
static show(options?: SafariViewControllerOptions): Promise<any> {return; }
/**
* Hides Safari View Controller
@ -98,4 +98,4 @@ export interface SafariViewControllerOptions {
enterReaderModeIfAvailable?: boolean;
tintColor?: string;
transition?: string;
}
}