From bd0f3556b6425ec04bb1893e6477d97c925fb499 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 6 Sep 2018 09:32:45 -0600 Subject: [PATCH] Mark transform options as optional --- src/ol/format/Feature.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ol/format/Feature.js b/src/ol/format/Feature.js index 4314438ac0..7ee09dc681 100644 --- a/src/ol/format/Feature.js +++ b/src/ol/format/Feature.js @@ -200,8 +200,7 @@ export default FeatureFormat; /** * @param {import("../geom/Geometry.js").default|import("../extent.js").Extent} geometry Geometry. * @param {boolean} write Set to true for writing, false for reading. - * @param {WriteOptions|ReadOptions|undefined} opt_options - * Options. + * @param {(WriteOptions|ReadOptions)=} opt_options Options. * @return {import("../geom/Geometry.js").default|import("../extent.js").Extent} Transformed geometry. */ export function transformWithOptions(geometry, write, opt_options) {