Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
This commit is contained in:
@@ -61,7 +61,7 @@ import {create as createTransform, apply as applyTransform} from './transform.js
|
||||
|
||||
/**
|
||||
* @typedef {Object} AtPixelOptions
|
||||
* @property {((function(module:ol/layer/Layer): boolean)|undefined)} layerFilter Layer filter
|
||||
* @property {function(module:ol/layer/Layer): boolean|undefined} layerFilter Layer filter
|
||||
* function. The filter function will receive one argument, the
|
||||
* {@link module:ol/layer/Layer layer-candidate} and it should return a boolean value.
|
||||
* Only layers which are visible and for which this function returns `true`
|
||||
|
||||
@@ -200,7 +200,7 @@ export default FeatureFormat;
|
||||
/**
|
||||
* @param {module:ol/geom/Geometry|module:ol/extent~Extent} geometry Geometry.
|
||||
* @param {boolean} write Set to true for writing, false for reading.
|
||||
* @param {(module:ol/format/Feature~WriteOptions|module:ol/format/Feature~ReadOptions)=} opt_options
|
||||
* @param {module:ol/format/Feature~WriteOptions|module:ol/format/Feature~ReadOptions=} opt_options
|
||||
* Options.
|
||||
* @return {module:ol/geom/Geometry|module:ol/extent~Extent} Transformed geometry.
|
||||
*/
|
||||
|
||||
@@ -40,22 +40,22 @@ const handleMoveEvent = UNDEFINED;
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {(function(module:ol/MapBrowserPointerEvent):boolean)} [handleDownEvent]
|
||||
* @property {function(module:ol/MapBrowserPointerEvent):boolean} [handleDownEvent]
|
||||
* Function handling "down" events. If the function returns `true` then a drag
|
||||
* sequence is started.
|
||||
* @property {(function(module:ol/MapBrowserPointerEvent))} [handleDragEvent]
|
||||
* @property {function(module:ol/MapBrowserPointerEvent)} [handleDragEvent]
|
||||
* Function handling "drag" events. This function is called on "move" events
|
||||
* during a drag sequence.
|
||||
* @property {(function(module:ol/MapBrowserEvent):boolean)} [handleEvent]
|
||||
* @property {function(module:ol/MapBrowserEvent):boolean} [handleEvent]
|
||||
* Method called by the map to notify the interaction that a browser event was
|
||||
* dispatched to the map. The function may return `false` to prevent the
|
||||
* propagation of the event to other interactions in the map's interactions
|
||||
* chain.
|
||||
* @property {(function(module:ol/MapBrowserPointerEvent))} [handleMoveEvent]
|
||||
* @property {function(module:ol/MapBrowserPointerEvent)} [handleMoveEvent]
|
||||
* Function handling "move" events. This function is called on "move" events,
|
||||
* also during a drag sequence (so during a drag sequence both the
|
||||
* `handleDragEvent` function and this function are called).
|
||||
* @property {(function(module:ol/MapBrowserPointerEvent):boolean)} [handleUpEvent]
|
||||
* @property {function(module:ol/MapBrowserPointerEvent):boolean} [handleUpEvent]
|
||||
* Function handling "up" events. If the function returns `false` then the
|
||||
* current drag sequence is stopped.
|
||||
* @property {function(boolean):boolean} stopDown
|
||||
|
||||
@@ -27,7 +27,7 @@ import SourceState from '../source/State.js';
|
||||
* visible.
|
||||
* @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
|
||||
* be visible.
|
||||
* @property {(Array.<module:ol/layer/Base>|module:ol/Collection.<module:ol/layer/Base>)} [layers] Child layers.
|
||||
* @property {Array.<module:ol/layer/Base>|module:ol/Collection.<module:ol/layer/Base>} [layers] Child layers.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ export const RenderType = {
|
||||
* means no preloading.
|
||||
* @property {module:ol/render~OrderFunction} [renderOrder] Render order. Function to be used when sorting
|
||||
* features before rendering. By default features are drawn in the order that they are created.
|
||||
* @property {(module:ol/style/Style|Array.<module:ol/style/Style>|module:ol/style/Style~StyleFunction)} [style] Layer style. See
|
||||
* @property {module:ol/style/Style|Array.<module:ol/style/Style>|module:ol/style/Style~StyleFunction} [style] Layer style. See
|
||||
* {@link module:ol/style} for default style which will be used if this is not defined.
|
||||
* @property {boolean} [useInterimTilesOnError=true] Use interim tiles on error.
|
||||
*/
|
||||
|
||||
@@ -384,7 +384,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
|
||||
* @param {module:ol/Feature} feature Feature.
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {(module:ol/style/Style|Array.<module:ol/style/Style>)} styles The style or array of styles.
|
||||
* @param {module:ol/style/Style|Array.<module:ol/style/Style>} styles The style or array of styles.
|
||||
* @param {module:ol/render/canvas/ReplayGroup} replayGroup Replay group.
|
||||
* @return {boolean} `true` if an image is loading.
|
||||
*/
|
||||
|
||||
@@ -410,7 +410,7 @@ class CanvasVectorTileLayerRenderer extends CanvasTileLayerRenderer {
|
||||
/**
|
||||
* @param {module:ol/Feature|module:ol/render/Feature} feature Feature.
|
||||
* @param {number} squaredTolerance Squared tolerance.
|
||||
* @param {(module:ol/style/Style|Array.<module:ol/style/Style>)} styles The style or array of styles.
|
||||
* @param {module:ol/style/Style|Array.<module:ol/style/Style>} styles The style or array of styles.
|
||||
* @param {module:ol/render/canvas/ReplayGroup} replayGroup Replay group.
|
||||
* @return {boolean} `true` if an image is loading.
|
||||
*/
|
||||
|
||||
@@ -276,7 +276,7 @@ class WebGLVectorLayerRenderer extends WebGLLayerRenderer {
|
||||
* @param {module:ol/Feature} feature Feature.
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {(module:ol/style/Style|Array.<module:ol/style/Style>)} styles The style or array of
|
||||
* @param {module:ol/style/Style|Array.<module:ol/style/Style>} styles The style or array of
|
||||
* styles.
|
||||
* @param {module:ol/render/webgl/ReplayGroup} replayGroup Replay group.
|
||||
* @return {boolean} `true` if an image is loading.
|
||||
|
||||
Reference in New Issue
Block a user