Merge pull request #6920 from klokantech/type-strength-consistency-fix

Fix minor type strength inconsistency
This commit is contained in:
Frédéric Junod
2017-06-19 15:45:26 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -614,7 +614,7 @@ ol.source.Vector.prototype.getClosestFeatureToCoordinate = function(coordinate,
* `useSpatialIndex` set to `false`.
* @param {ol.Extent=} opt_extent Destination extent. If provided, no new extent
* will be created. Instead, that extent's coordinates will be overwritten.
* @return {!ol.Extent} Extent.
* @return {ol.Extent} Extent.
* @api
*/
ol.source.Vector.prototype.getExtent = function(opt_extent) {

View File

@@ -208,7 +208,7 @@ ol.structs.RBush.prototype.clear = function() {
/**
* @param {ol.Extent=} opt_extent Extent.
* @return {!ol.Extent} Extent.
* @return {ol.Extent} Extent.
*/
ol.structs.RBush.prototype.getExtent = function(opt_extent) {
// FIXME add getExtent() to rbush