Module type for ol.layer.Layer
This commit is contained in:
@@ -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) {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user