Use Object<Foo, Bar> instead of Object.<Foo, Bar>

This commit is contained in:
Tim Schaub
2018-07-25 18:33:49 -07:00
parent d12ef20b12
commit affbf59b77
92 changed files with 334 additions and 334 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ class CanvasTileLayerRenderer extends IntermediateCanvasRenderer {
const tilePixelRatio = tileSource.getTilePixelRatio(pixelRatio);
/**
* @type {Object.<number, Object.<string, module:ol/Tile>>}
* @type {Object<number, Object<string, module:ol/Tile>>}
*/
const tilesToDrawByZ = {};
tilesToDrawByZ[z] = {};
+1 -1
View File
@@ -234,7 +234,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
const resolution = frameState.viewState.resolution;
const rotation = frameState.viewState.rotation;
const layer = /** @type {module:ol/layer/Vector} */ (this.getLayer());
/** @type {!Object.<string, boolean>} */
/** @type {!Object<string, boolean>} */
const features = {};
const result = this.replayGroup_.forEachFeatureAtCoordinate(coordinate, resolution, rotation, hitTolerance, {},
/**
+3 -3
View File
@@ -28,7 +28,7 @@ import {
/**
* @type {!Object.<string, Array<module:ol/render/ReplayType>>}
* @type {!Object<string, Array<module:ol/render/ReplayType>>}
*/
const IMAGE_REPLAYS = {
'image': [ReplayType.POLYGON, ReplayType.CIRCLE,
@@ -38,7 +38,7 @@ const IMAGE_REPLAYS = {
/**
* @type {!Object.<string, Array<module:ol/render/ReplayType>>}
* @type {!Object<string, Array<module:ol/render/ReplayType>>}
*/
const VECTOR_REPLAYS = {
'image': [ReplayType.DEFAULT],
@@ -234,7 +234,7 @@ class CanvasVectorTileLayerRenderer extends CanvasTileLayerRenderer {
const rotation = frameState.viewState.rotation;
hitTolerance = hitTolerance == undefined ? 0 : hitTolerance;
const layer = this.getLayer();
/** @type {!Object.<string, boolean>} */
/** @type {!Object<string, boolean>} */
const features = {};
/** @type {Array<module:ol/VectorImageTile>} */