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 { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface DocumentViewerOptions {
title?: string;
@@ -62,14 +62,15 @@ export interface DocumentViewerOptions {
})
@Injectable()
export class DocumentViewer extends IonicNativePlugin {
/**
* Displays the email composer pre-filled with data.
*
* @returns {Promise<any>} Resolves promise when the EmailComposer has been opened
*/
@Cordova()
getSupportInfo(): Promise<any> { return; }
getSupportInfo(): Promise<any> {
return;
}
/**
* Check if the document can be shown
@@ -83,7 +84,15 @@ export class DocumentViewer extends IonicNativePlugin {
* @param [onError] {Function}
*/
@Cordova({ sync: true })
canViewDocument(url: string, contentType: string, options: DocumentViewerOptions, onPossible?: Function, onMissingApp?: Function, onImpossible?: Function, onError?: Function): void { }
canViewDocument(
url: string,
contentType: string,
options: DocumentViewerOptions,
onPossible?: Function,
onMissingApp?: Function,
onImpossible?: Function,
onError?: Function
): void {}
/**
* Opens the file
@@ -97,6 +106,13 @@ export class DocumentViewer extends IonicNativePlugin {
* @param [onError] {Function}
*/
@Cordova({ sync: true })
viewDocument(url: string, contentType: string, options: DocumentViewerOptions, onShow?: Function, onClose?: Function, onMissingApp?: Function, onError?: Function): void { }
viewDocument(
url: string,
contentType: string,
options: DocumentViewerOptions,
onShow?: Function,
onClose?: Function,
onMissingApp?: Function,
onError?: Function
): void {}
}