Do not document object literals as interfaces
Instead, object literals with properties that should not be renamed can go in externs/olx.js.
This commit is contained in:
@@ -66,7 +66,7 @@ goog.inherits(ol.control.Attribution, ol.control.Control);
|
||||
|
||||
|
||||
/**
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
* @return {Array.<Object.<string, ol.Attribution>>} Attributions.
|
||||
*/
|
||||
ol.control.Attribution.prototype.getSourceAttributions =
|
||||
@@ -118,7 +118,7 @@ ol.control.Attribution.prototype.handleMapPostrender = function(mapEvent) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
*/
|
||||
ol.control.Attribution.prototype.updateElement_ = function(frameState) {
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ ol.control.Logo.prototype.handleMapPostrender = function(mapEvent) {
|
||||
|
||||
|
||||
/**
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
* @private
|
||||
*/
|
||||
ol.control.Logo.prototype.updateElement_ = function(frameState) {
|
||||
|
||||
@@ -76,7 +76,7 @@ ol.control.ScaleLine = function(opt_options) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {?oli.View2DState}
|
||||
* @type {?olx.View2DState}
|
||||
*/
|
||||
this.view2DState_ = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user