fix(plugins): fix rxjs 6 build errors

#2439
This commit is contained in:
Daniel
2018-04-05 21:44:19 +02:00
parent 48b0f16ed9
commit 3ced31ed2a
54 changed files with 580 additions and 393 deletions
+1 -7
View File
@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
import { Observable } from 'rxjs';
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.
*
@@ -140,7 +139,6 @@ export class Toast extends IonicNativePlugin {
return;
}
/**
* Shorthand for `show(message, 'short', 'bottom')`.
* @param message {string}
@@ -154,7 +152,6 @@ export class Toast extends IonicNativePlugin {
return;
}
/**
* Shorthand for `show(message, 'long', 'top')`.
* @param message {string}
@@ -168,7 +165,6 @@ export class Toast extends IonicNativePlugin {
return;
}
/**
* Shorthand for `show(message, 'long', 'center')`.
* @param message {string}
@@ -182,7 +178,6 @@ export class Toast extends IonicNativePlugin {
return;
}
/**
* Shorthand for `show(message, 'long', 'bottom')`.
* @param message {string}
@@ -195,5 +190,4 @@ export class Toast extends IonicNativePlugin {
showLongBottom(message: string): Observable<any> {
return;
}
}