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:
@@ -35,7 +35,7 @@ ol.render.EventType = {
|
||||
* @param {ol.render.EventType} type Type.
|
||||
* @param {Object=} opt_target Target.
|
||||
* @param {ol.render.IVectorContext=} opt_vectorContext Vector context.
|
||||
* @param {oli.FrameState=} opt_frameState Frame state.
|
||||
* @param {olx.FrameState=} opt_frameState Frame state.
|
||||
* @param {?CanvasRenderingContext2D=} opt_context Context.
|
||||
* @param {?ol.webgl.Context=} opt_glContext WebGL Context.
|
||||
*/
|
||||
@@ -51,7 +51,7 @@ ol.render.Event = function(
|
||||
this.vectorContext = opt_vectorContext;
|
||||
|
||||
/**
|
||||
* @type {oli.FrameState|undefined}
|
||||
* @type {olx.FrameState|undefined}
|
||||
*/
|
||||
this.frameState = opt_frameState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user