mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -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 {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user