From 704845e37a4fdc555ea98175db227af33e2ddc4a Mon Sep 17 00:00:00 2001 From: Jaap Koelewijn Date: Mon, 23 Jul 2018 21:29:52 +0200 Subject: [PATCH] Use alternative JSDoc annotation for optional parameter which passes the tests. --- src/ol/format/Feature.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/format/Feature.js b/src/ol/format/Feature.js index 3b0899bdcf..0f2310d96f 100644 --- a/src/ol/format/Feature.js +++ b/src/ol/format/Feature.js @@ -200,7 +200,7 @@ export default FeatureFormat; /** * @param {module:ol/geom/Geometry|module:ol/extent~Extent} geometry Geometry. * @param {boolean} write Set to true for writing, false for reading. - * @param {module:ol/format/Feature~WriteOptions=|module:ol/format/Feature~ReadOptions=} opt_options + * @param {module:ol/format/Feature~WriteOptions|module:ol/format/Feature~ReadOptions|undefined} opt_options * Options. * @return {module:ol/geom/Geometry|module:ol/extent~Extent} Transformed geometry. */