docs(all): standardizes and adds return types, also some param fixes

This commit is contained in:
Alex Muramoto
2016-11-29 16:40:50 -06:00
parent b7a562053a
commit 3da2831779
88 changed files with 635 additions and 347 deletions
+4
View File
@@ -33,6 +33,7 @@ export class NativeStorage {
* Stores a value
* @param reference {string}
* @param value
* @returns {Promise<any>}
*/
@Cordova()
static setItem(reference: string, value: any): Promise<any> {return; }
@@ -40,6 +41,7 @@ export class NativeStorage {
/**
* Gets a stored item
* @param reference {string}
* @returns {Promise<any>}
*/
@Cordova()
static getItem(reference: string): Promise<any> {return; }
@@ -47,12 +49,14 @@ export class NativeStorage {
/**
* Removes a single stored item
* @param reference {string}
* @returns {Promise<any>}
*/
@Cordova()
static remove(reference: string): Promise<any> {return; }
/**
* Removes all stored values.
* @returns {Promise<any>}
*/
@Cordova()
static clear(): Promise<any> {return; }