Fix lint issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-12-14 10:21:04 +01:00
parent 594d5a91ec
commit 8dc5b8a4b0
20 changed files with 26 additions and 43 deletions

View File

@@ -86,6 +86,7 @@ export default class AddressAutoComplete extends Vue {
private gettingLocation = false;
// eslint-disable-next-line no-undef
private location!: GeolocationPosition;
private gettingLocationError: any;
@@ -219,6 +220,7 @@ export default class AddressAutoComplete extends Vue {
this.gettingLocation = false;
}
// eslint-disable-next-line no-undef
static async getLocation(): Promise<GeolocationPosition> {
return new Promise((resolve, reject) => {
if (!("geolocation" in navigator)) {