diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index d941a65ff5..613e1a51e9 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -530,14 +530,6 @@ * @property {string|undefined} url WMS service URL. */ -/** - * @typedef {Object} ol.source.SourceOptions - * @property {Array.|undefined} attributions Attributions. - * @property {ol.Extent|undefined} extent Extent. - * @property {string|undefined} logo Logo. - * @property {ol.proj.ProjectionLike} projection Projection. - */ - /** * @typedef {Object} ol.source.StamenOptions * @property {string} layer Layer. diff --git a/src/ol/source/source.js b/src/ol/source/source.js index 2f1f0db681..b7d2d0206b 100644 --- a/src/ol/source/source.js +++ b/src/ol/source/source.js @@ -8,6 +8,15 @@ goog.require('ol.Extent'); goog.require('ol.proj'); +/** + * @typedef {{attributions: (Array.|undefined), + * extent: (ol.Extent|undefined), + * logo: (string|undefined), + * projection: ol.proj.ProjectionLike}} + */ +ol.source.SourceOptions; + + /** * @constructor