mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
Changed SafariViewController show return type (#228)
Changed it to `Promise<any>` as in the example. Was `void`.
This commit is contained in:
parent
9e0f569eba
commit
e8a108d92d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user