Skip to content

Commit

Permalink
style: fix missing type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
behnammodi committed Oct 20, 2021
1 parent 4ff181b commit 40caf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/control/geolocate_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class GeolocateControl extends Evented {
this._noTimeout = false;
}

_checkGeolocationSupport(callback) {
_checkGeolocationSupport(callback: (supported: boolean) => any) {
if (this._supportsGeolocation !== undefined) {
callback(this._supportsGeolocation);
} else if (window.navigator.permissions !== undefined) {
Expand Down

0 comments on commit 40caf81

Please sign in to comment.