refactor(lib): run prettier

This commit is contained in:
Daniel Sogl
2020-05-16 14:40:49 +02:00
parent f5133c691d
commit 511a02d50b
326 changed files with 3079 additions and 4092 deletions
+6 -9
View File
@@ -1,7 +1,6 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @name Keychain
* @description
@@ -32,11 +31,10 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
plugin: 'cordova-plugin-ios-keychain',
pluginRef: 'window.Keychain',
repo: 'https://github.com/ionic-team/cordova-plugin-ios-keychain',
platforms: ['iOS']
platforms: ['iOS'],
})
@Injectable()
export class Keychain extends IonicNativePlugin {
/**
* Retrieves a value for a key
*
@@ -44,7 +42,7 @@ export class Keychain extends IonicNativePlugin {
* @param {string} [touchIDMessage] the message to show underneath the TouchID prompt (if any)
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
get(key: string, touchIDMessage?: string): Promise<any> {
return;
@@ -58,7 +56,7 @@ export class Keychain extends IonicNativePlugin {
* @param {boolean} [useTouchID] whether to store the value with security such that TouchID will be needed to grab it
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
set(key: string, value: string | number | boolean, useTouchID?: boolean): Promise<any> {
return;
@@ -71,7 +69,7 @@ export class Keychain extends IonicNativePlugin {
* @param {string} touchIDMessage the message to show underneath the TouchID prompt (if any)
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
getJson(key: string, touchIDMessage?: string): Promise<any> {
return;
@@ -85,7 +83,7 @@ export class Keychain extends IonicNativePlugin {
* @param {boolean} [useTouchId] Wether to store the value with security such that TouchID will be needed to grab it
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
setJson(key: string, obj: any, useTouchId?: boolean): Promise<any> {
return;
@@ -97,10 +95,9 @@ export class Keychain extends IonicNativePlugin {
* @param {string} key the key to remove
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
remove(key: string): Promise<any> {
return;
}
}