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
+28 -16
View File
@@ -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 ToastOptions {
@@ -69,7 +69,6 @@ export interface ToastOptions {
})
@Injectable()
export class Toast extends IonicNativePlugin {
/**
* Show a native toast for the given duration at the specified position.
*
@@ -82,14 +81,18 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
show(message: string, duration: string, position: string): Observable<any> { return; }
show(message: string, duration: string, position: string): Observable<any> {
return;
}
/**
* Manually hide any currently visible toast.
* @returns {Promise<any>} Returns a Promise that resolves on success.
*/
@Cordova()
hide(): Promise<any> { return; }
hide(): Promise<any> {
return;
}
/**
* Show a native toast with the given options.
@@ -106,7 +109,9 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showWithOptions(options: ToastOptions): Observable<any> { return; }
showWithOptions(options: ToastOptions): Observable<any> {
return;
}
/**
* Shorthand for `show(message, 'short', 'top')`.
@@ -117,7 +122,9 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showShortTop(message: string): Observable<any> { return; }
showShortTop(message: string): Observable<any> {
return;
}
/**
* Shorthand for `show(message, 'short', 'center')`.
@@ -128,8 +135,9 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showShortCenter(message: string): Observable<any> { return; }
showShortCenter(message: string): Observable<any> {
return;
}
/**
* Shorthand for `show(message, 'short', 'bottom')`.
@@ -140,8 +148,9 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showShortBottom(message: string): Observable<any> { return; }
showShortBottom(message: string): Observable<any> {
return;
}
/**
* Shorthand for `show(message, 'long', 'top')`.
@@ -152,8 +161,9 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showLongTop(message: string): Observable<any> { return; }
showLongTop(message: string): Observable<any> {
return;
}
/**
* Shorthand for `show(message, 'long', 'center')`.
@@ -164,8 +174,9 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showLongCenter(message: string): Observable<any> { return; }
showLongCenter(message: string): Observable<any> {
return;
}
/**
* Shorthand for `show(message, 'long', 'bottom')`.
@@ -176,6 +187,7 @@ export class Toast extends IonicNativePlugin {
observable: true,
clearFunction: 'hide'
})
showLongBottom(message: string): Observable<any> { return; }
showLongBottom(message: string): Observable<any> {
return;
}
}