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
+20 -8
View File
@@ -80,14 +80,14 @@ declare const window: any;
plugin: 'cordova-plugin-geofence',
pluginRef: 'geofence',
repo: 'https://github.com/cowbell/cordova-plugin-geofence',
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8']
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'],
})
@Injectable()
export class Geofence extends IonicNativePlugin {
TransitionType = {
ENTER: 1,
EXIT: 2,
BOTH: 3
BOTH: 3,
};
/**
@@ -95,7 +95,9 @@ export class Geofence extends IonicNativePlugin {
* @return {Observable<any>}
*/
@CordovaFunctionOverride()
onTransitionReceived(): Observable<any> { return; }
onTransitionReceived(): Observable<any> {
return;
}
/**
* Initializes the plugin. User will be prompted to allow the app to use location and notifications.
@@ -103,7 +105,9 @@ export class Geofence extends IonicNativePlugin {
* @returns {Promise<void>}
*/
@Cordova()
initialize(): Promise<void> { return; }
initialize(): Promise<void> {
return;
}
/**
* Adds a new geofence or array of geofences. For geofence object, see above.
@@ -111,7 +115,9 @@ export class Geofence extends IonicNativePlugin {
* @returns {Promise<void>}
*/
@Cordova()
addOrUpdate(geofences: Object | Object[]): Promise<void> { return; }
addOrUpdate(geofences: Object | Object[]): Promise<void> {
return;
}
/**
* Removes a geofence or array of geofences. `geofenceID` corresponds to one or more IDs specified when the
@@ -120,7 +126,9 @@ export class Geofence extends IonicNativePlugin {
* @returns {Promise<void>}
*/
@Cordova()
remove(geofenceId: string | string[]): Promise<void> { return; }
remove(geofenceId: string | string[]): Promise<void> {
return;
}
/**
* Removes all geofences.
@@ -128,7 +136,9 @@ export class Geofence extends IonicNativePlugin {
* @returns {Promise<void>}
*/
@Cordova()
removeAll(): Promise<void> { return; }
removeAll(): Promise<void> {
return;
}
/**
* Returns an array of geofences currently being monitored.
@@ -136,7 +146,9 @@ export class Geofence extends IonicNativePlugin {
* @returns {Promise<string[]>}
*/
@Cordova()
getWatched(): Promise<string> { return; }
getWatched(): Promise<string> {
return;
}
/**
* Called when the user clicks a geofence notification. iOS and Android only.