Use Array<Foo> instead of Array.<Foo>
This commit is contained in:
@@ -352,7 +352,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
|
||||
}
|
||||
}.bind(this);
|
||||
if (vectorLayerRenderOrder) {
|
||||
/** @type {Array.<module:ol/Feature>} */
|
||||
/** @type {Array<module:ol/Feature>} */
|
||||
const features = [];
|
||||
vectorSource.forEachFeatureInExtent(extent,
|
||||
/**
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user