chore(package): bump dependencies and lint rules

This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 7547a94c80
commit 21ad4734fa
178 changed files with 10565 additions and 4194 deletions
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
export interface SafariViewControllerOptions {
@@ -64,13 +64,14 @@ export interface SafariViewControllerOptions {
})
@Injectable()
export class SafariViewController extends IonicNativePlugin {
/**
* Checks if SafariViewController is available
* @returns {Promise<boolean>}
*/
@Cordova()
isAvailable(): Promise<boolean> { return; }
isAvailable(): Promise<boolean> {
return;
}
/**
* Shows Safari View Controller
@@ -82,27 +83,35 @@ export class SafariViewController extends IonicNativePlugin {
errorIndex: 2,
observable: true
})
show(options?: SafariViewControllerOptions): Observable<any> { return; }
show(options?: SafariViewControllerOptions): Observable<any> {
return;
}
/**
* Hides Safari View Controller
*/
@Cordova()
hide(): Promise<any> { return; }
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.
* @returns {Promise<any>}
*/
@Cordova()
connectToService(): Promise<any> { return; }
connectToService(): Promise<any> {
return;
}
/**
* Call this method whenever there's a chance the user will open an external url.
* @returns {Promise<any>}
*/
@Cordova()
warmUp(): Promise<any> { return; }
warmUp(): Promise<any> {
return;
}
/**
* For even better performance optimization, call this methods if there's more than a 50% chance the user will open a certain URL.
@@ -110,6 +119,7 @@ export class SafariViewController extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
mayLaunchUrl(url: string): Promise<any> { return; }
mayLaunchUrl(url: string): Promise<any> {
return;
}
}