diff --git a/src/ol/format/wktformat.js b/src/ol/format/wktformat.js index e4dd17d239..40fc27601c 100644 --- a/src/ol/format/wktformat.js +++ b/src/ol/format/wktformat.js @@ -582,7 +582,7 @@ ol.format.WKT.Parser.prototype.parse = function() { /** - * @return {!ol.geom.Geometry|!ol.geom.GeometryCollection} The geometry. + * @return {!(ol.geom.Geometry|ol.geom.GeometryCollection)} The geometry. * @private */ ol.format.WKT.Parser.prototype.parseGeometry_ = function() {