diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index a27dae8aa2..81e4e62488 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -618,6 +618,12 @@ * @todo stability experimental */ +/** + * @typedef {Object} ol.style.FillOptions + * @property {ol.Color|string} color Color. + * @todo stability experimental + */ + /** * @typedef {Object} ol.tilegrid.TileGridOptions * @property {number|undefined} minZoom Minimum zoom. diff --git a/src/ol/style/fillstyle.exports b/src/ol/style/fillstyle.exports new file mode 100644 index 0000000000..9dd7392396 --- /dev/null +++ b/src/ol/style/fillstyle.exports @@ -0,0 +1 @@ +@exportClass ol.style.Fill ol.style.FillOptions diff --git a/src/ol/style/fillstyle.js b/src/ol/style/fillstyle.js index 978aa95c2e..5c6a040da5 100644 --- a/src/ol/style/fillstyle.js +++ b/src/ol/style/fillstyle.js @@ -3,12 +3,6 @@ goog.provide('ol.style.Fill'); goog.require('ol.color'); -/** - * @typedef {{color: (ol.Color|string)}} - */ -ol.style.FillOptions; - - /** * @constructor