Revert "chore(package): bump dependencies and lint rules"

This reverts commit 21ad4734fa.
This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 21ad4734fa
commit 6c938bfdb7
178 changed files with 4221 additions and 10592 deletions
@@ -1,10 +1,8 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
export type SpeechRecognitionListeningOptions =
| SpeechRecognitionListeningOptionsIOS
| SpeechRecognitionListeningOptionsAndroid;
export type SpeechRecognitionListeningOptions = SpeechRecognitionListeningOptionsIOS | SpeechRecognitionListeningOptionsAndroid;
export interface SpeechRecognitionListeningOptionsIOS {
/**
@@ -103,6 +101,7 @@ export interface SpeechRecognitionListeningOptionsAndroid {
})
@Injectable()
export class SpeechRecognition extends IonicNativePlugin {
/**
* Check feature available
* @return {Promise<boolean>}
@@ -118,11 +117,10 @@ export class SpeechRecognition extends IonicNativePlugin {
*/
@Cordova({
callbackOrder: 'reverse',
observable: true
observable: true,
})
startListening(
options?: SpeechRecognitionListeningOptions
): Observable<Array<string>> {
startListening(options?: SpeechRecognitionListeningOptions): Observable<Array<string>> {
return;
}
@@ -162,4 +160,5 @@ export class SpeechRecognition extends IonicNativePlugin {
requestPermission(): Promise<void> {
return;
}
}