mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
refractor(geofence): fix tslint issues
This commit is contained in:
parent
bde47eb37b
commit
c04379af19
@ -96,7 +96,7 @@ export class Geofence {
|
|||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static initialize(): Promise<void> { return };
|
static initialize(): Promise<void> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a new geofence or array of geofences. For geofence object, see above.
|
* Adds a new geofence or array of geofences. For geofence object, see above.
|
||||||
@ -104,7 +104,7 @@ export class Geofence {
|
|||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static addOrUpdate(geofences: Object | Array<Object>): Promise<void> { return };
|
static addOrUpdate(geofences: Object | Array<Object>): Promise<void> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a geofence or array of geofences. `geofenceID` corresponds to one or more IDs specified when the
|
* Removes a geofence or array of geofences. `geofenceID` corresponds to one or more IDs specified when the
|
||||||
@ -113,7 +113,7 @@ export class Geofence {
|
|||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static remove(geofenceId: string | Array<string>): Promise<void> { return };
|
static remove(geofenceId: string | Array<string>): Promise<void> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes all geofences.
|
* Removes all geofences.
|
||||||
@ -121,7 +121,7 @@ export class Geofence {
|
|||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static removeAll(): Promise<void> { return };
|
static removeAll(): Promise<void> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of geofences currently being monitored.
|
* Returns an array of geofences currently being monitored.
|
||||||
@ -129,7 +129,7 @@ export class Geofence {
|
|||||||
* @return {Promise<Array<string>>}
|
* @return {Promise<Array<string>>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static getWatched(): Promise<string> { return };
|
static getWatched(): Promise<string> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a geofence is crossed in the direction specified by `TransitType`.
|
* Called when a geofence is crossed in the direction specified by `TransitType`.
|
||||||
|
Loading…
Reference in New Issue
Block a user