mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
Revert "chore(package): bump dependencies and lint rules"
This reverts commit 21ad4734fa.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
|
||||
|
||||
/**
|
||||
* @name Native Storage
|
||||
@@ -42,9 +43,7 @@ export class NativeStorage extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
setItem(reference: string, value: any): Promise<any> {
|
||||
return;
|
||||
}
|
||||
setItem(reference: string, value: any): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Gets a stored item
|
||||
@@ -52,18 +51,14 @@ export class NativeStorage extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
getItem(reference: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
getItem(reference: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Retrieving all keys
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
keys(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
keys(): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Removes a single stored item
|
||||
@@ -71,16 +66,13 @@ export class NativeStorage extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
remove(reference: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
remove(reference: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Removes all stored values.
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
clear(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
clear(): Promise<any> { return; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user