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:
@@ -6,17 +6,17 @@ goog.provide('ol.PreRenderFunction');
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {function(ol.Map, ?oli.FrameState): boolean}
|
||||
* @typedef {function(ol.Map, ?olx.FrameState): boolean}
|
||||
*/
|
||||
ol.PostRenderFunction;
|
||||
|
||||
|
||||
/**
|
||||
* Function to perform manipulations before rendering. This function is called
|
||||
* with the {@link ol.Map} as first and an optional {@link oli.FrameState} as
|
||||
* with the {@link ol.Map} as first and an optional {@link olx.FrameState} as
|
||||
* second argument. Return `true` to keep this function for the next frame,
|
||||
* `false` to remove it.
|
||||
* @typedef {function(ol.Map, ?oli.FrameState): boolean}
|
||||
* @typedef {function(ol.Map, ?olx.FrameState): boolean}
|
||||
* @todo api
|
||||
*/
|
||||
ol.PreRenderFunction;
|
||||
|
||||
Reference in New Issue
Block a user