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,6 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @name Power Management
* @description
@@ -34,21 +35,27 @@ export class PowerManagement extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
acquire(): Promise<any> { return; }
acquire(): Promise<any> {
return;
}
/**
* This acquires a partial wakelock, allowing the screen to be dimmed.
* @returns {Promise<any>}
*/
@Cordova()
dim(): Promise<any> { return; }
dim(): Promise<any> {
return;
}
/**
* Release the wakelock. It's important to do this when you're finished with the wakelock, to avoid unnecessary battery drain.
* @returns {Promise<any>}
*/
@Cordova()
release(): Promise<any> { return; }
release(): Promise<any> {
return;
}
/**
* By default, the plugin will automatically release a wakelock when your app is paused (e.g. when the screen is turned off, or the user switches to another app).
@@ -57,5 +64,7 @@ export class PowerManagement extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
setReleaseOnPause(set: boolean): Promise<any> { return; }
setReleaseOnPause(set: boolean): Promise<any> {
return;
}
}