Correct types

This commit is contained in:
Tim Schaub
2017-08-15 15:30:10 -04:00
parent 8e90976bf2
commit 8a08ab6463
29 changed files with 67 additions and 67 deletions
+3 -3
View File
@@ -166,12 +166,12 @@ ol.Overlay.prototype.getId = function() {
/**
* Get the map associated with this overlay.
* @return {ol.Map|undefined} The map that the overlay is part of.
* @return {ol.PluggableMap|undefined} The map that the overlay is part of.
* @observable
* @api
*/
ol.Overlay.prototype.getMap = function() {
return /** @type {ol.Map|undefined} */ (
return /** @type {ol.PluggableMap|undefined} */ (
this.get(ol.Overlay.Property_.MAP));
};
@@ -299,7 +299,7 @@ ol.Overlay.prototype.setElement = function(element) {
/**
* Set the map to be associated with this overlay.
* @param {ol.Map|undefined} map The map that the overlay is part of.
* @param {ol.PluggableMap|undefined} map The map that the overlay is part of.
* @observable
* @api
*/