diff --git a/src/ol/geolocation.js b/src/ol/geolocation.js
index <HASH>..<HASH> 100644
--- a/src/ol/geolocation.js
+++ b/src/ol/geolocation.js
@@ -191,7 +191,7 @@ ol.Geolocation.prototype.positionChange_ = function(position) {
 ol.Geolocation.prototype.positionError_ = function(error) {
   error.type = ol.events.EventType.ERROR;
   this.setTracking(false);
-  this.dispatchEvent(/** @type {{type: string}} */ (error));
+  this.dispatchEvent(/** @type {{type: string, target: undefined}} */ (error));
 };
Fix geolocation error cast

Despite the dispatchEvent method accepting a hash with a "target" property of
"undefined", closure may still require the "target" property to be
explicit.