mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
style(): unify docs and spacing (#1448)
* typo(barcode-scanner): fixe circle lint error
* typo(docs): Unified the documentations
In some plugins the typescript markup was missing.
I also unified the console.log string from console.log("hello") to console.log('Hello') so any plugin page look the same.
This commit is contained in:
@@ -43,7 +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
|
||||
@@ -51,7 +51,7 @@ export class NativeStorage extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
getItem(reference: string): Promise<any> {return; }
|
||||
getItem(reference: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Removes a single stored item
|
||||
@@ -59,13 +59,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