Module type for ol.layer.Layer

This commit is contained in:
Frederic Junod
2018-03-22 12:00:19 +01:00
parent 041b612fd9
commit bd9e603036
21 changed files with 44 additions and 44 deletions

View File

@@ -63,7 +63,7 @@ const BaseLayer = function(options) {
* @private
*/
this.state_ = /** @type {module:ol/layer/Layer~State} */ ({
layer: /** @type {ol.layer.Layer} */ (this),
layer: /** @type {module:ol/layer/Layer~Layer} */ (this),
managed: true
});
@@ -106,9 +106,9 @@ BaseLayer.prototype.getLayerState = function() {
/**
* @abstract
* @param {Array.<ol.layer.Layer>=} opt_array Array of layers (to be
* @param {Array.<module:ol/layer/Layer~Layer>=} opt_array Array of layers (to be
* modified in place).
* @return {Array.<ol.layer.Layer>} Array of layers.
* @return {Array.<module:ol/layer/Layer~Layer>} Array of layers.
*/
BaseLayer.prototype.getLayersArray = function(opt_array) {};