Merge pull request #4808 from fredj/type_cleanup

Type cleanup
This commit is contained in:
Frédéric Junod
2016-02-15 12:01:40 +01:00
2 changed files with 15 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ ol.layer.Layer = function(options) {
var baseOptions = ol.object.assign({}, options);
delete baseOptions.source;
goog.base(this, /** @type {olx.layer.LayerOptions} */ (baseOptions));
goog.base(this, /** @type {olx.layer.BaseOptions} */ (baseOptions));
/**
* @private