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
@@ -109,7 +109,7 @@ export interface QRScannerStatus {
plugin: 'cordova-plugin-qrscanner',
pluginRef: 'QRScanner',
repo: 'https://github.com/bitpay/cordova-plugin-qrscanner',
platforms: ['Android', 'Browser', 'iOS', 'Windows']
platforms: ['Android', 'Browser', 'iOS', 'Windows'],
})
@Injectable()
export class QRScanner extends IonicNativePlugin {
@@ -118,7 +118,7 @@ export class QRScanner extends IonicNativePlugin {
* @return {Promise<QRScannerStatus>}
*/
@Cordova({
callbackStyle: 'node'
callbackStyle: 'node',
})
prepare(): Promise<QRScannerStatus> {
return;
@@ -131,7 +131,7 @@ export class QRScanner extends IonicNativePlugin {
@Cordova({
callbackStyle: 'node',
observable: true,
clearFunction: 'cancelScan'
clearFunction: 'cancelScan',
})
scan(): Observable<string> {
return;
@@ -160,7 +160,7 @@ export class QRScanner extends IonicNativePlugin {
* @returns {Promise<QRScannerStatus>}
*/
@Cordova({
callbackStyle: 'node'
callbackStyle: 'node',
})
enableLight(): Promise<QRScannerStatus> {
return;
@@ -180,7 +180,7 @@ export class QRScanner extends IonicNativePlugin {
* @return {Promise<QRScannerStatus>}
*/
@Cordova({
callbackStyle: 'node'
callbackStyle: 'node',
})
disableLight(): Promise<QRScannerStatus> {
return;
@@ -191,7 +191,7 @@ export class QRScanner extends IonicNativePlugin {
* @return {Promise<QRScannerStatus>}
*/
@Cordova({
callbackStyle: 'node'
callbackStyle: 'node',
})
useFrontCamera(): Promise<QRScannerStatus> {
return;
@@ -202,7 +202,7 @@ export class QRScanner extends IonicNativePlugin {
* @return {Promise<QRScannerStatus>}
*/
@Cordova({
callbackStyle: 'node'
callbackStyle: 'node',
})
useBackCamera(): Promise<QRScannerStatus> {
return;
@@ -214,7 +214,7 @@ export class QRScanner extends IonicNativePlugin {
* @return {Promise<QRScannerStatus>}
*/
@Cordova({
callbackStyle: 'node'
callbackStyle: 'node',
})
useCamera(camera: number): Promise<QRScannerStatus> {
return;
@@ -251,7 +251,7 @@ export class QRScanner extends IonicNativePlugin {
* Opens settings to edit app permissions.
*/
@Cordova({
sync: true
sync: true,
})
openSettings(): void {}
}