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
+9 -11
View File
@@ -2,7 +2,6 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
export interface QQShareOptions {
/**
* The clinet type, QQ or TIM
* Default is QQ
@@ -163,21 +162,20 @@ export interface QQShareOptions {
})
@Injectable()
export class QQSDK extends IonicNativePlugin {
/**
* QQ Share Scene
*/
Scene = {
QQ: 0,
QQZone: 1,
Favorite: 2
Favorite: 2,
};
/**
* client type: QQ application or TIM application
*/
ClientType = {
QQ: 0,
TIM: 1
TIM: 1,
};
/**
@@ -186,14 +184,14 @@ export class QQSDK extends IonicNativePlugin {
* @returns {Promise<any>} Returns a Promise that resolves with the success return, or rejects with an error.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
ssoLogin(options: QQShareOptions): Promise<any> {
return;
}
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
logout(): Promise<any> {
return;
@@ -205,7 +203,7 @@ export class QQSDK extends IonicNativePlugin {
* @returns {Promise<any>} Returns a Promise that resolves with the success return, or rejects with an error.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
checkClientInstalled(options: QQShareOptions): Promise<any> {
return;
@@ -217,7 +215,7 @@ export class QQSDK extends IonicNativePlugin {
* @returns {Promise<any>} Returns a Promise that resolves with the success return, or rejects with an error.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
shareText(options: QQShareOptions): Promise<any> {
return;
@@ -229,7 +227,7 @@ export class QQSDK extends IonicNativePlugin {
* @returns {Promise<any>} Returns a Promise that resolves with the success return, or rejects with an error.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
shareImage(options: QQShareOptions): Promise<any> {
return;
@@ -241,7 +239,7 @@ export class QQSDK extends IonicNativePlugin {
* @returns {Promise<any>} Returns a Promise that resolves with the success return, or rejects with an error.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
shareNews(options: QQShareOptions): Promise<any> {
return;
@@ -253,7 +251,7 @@ export class QQSDK extends IonicNativePlugin {
* @returns {Promise<any>} Returns a Promise that resolves with the success return, or rejects with an error.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
shareAudio(options: QQShareOptions): Promise<any> {
return;